>I want to sell mu fb3 application in Australia. They speak English and use >the $ for money. So far the biggest change I need to make is to use the >international date format of dd/mm/yy. I don't think it is going to be too >hard to change the key filters in program generator that checks the date, but >I wonder if someone has already done it. Also I have used the fb3 statement >DATE$ in many places. How do you suggest I replace that with something that >gives the current date in international format? > >Bruce Moore > >-- >To unsubscribe, send ANY message to <futurebasic-unsubscribe@...> Here's the trick: Let the toolbox do the work and you won't have to be concerned about what the date format might be. You can get the current date/time (down to the second) as follows: currDateTime& = [_time] This is a really cool thing because the entire date and time is stored as a long integer. (Save a lot of space!) When you want to translate the current (or a saved date) into the proper string for the country used by the system software, use this: CALL IUDateString(anyDate& , _ShortDate , dateString$) You will probably have to compare dates. The dates are stored by the toolbox as unsigned long ints, but FB sees them as signed long ints. Here is the work around: IF (oneDate&>>1) > (anotherDate&>>1) THEN PRINT "oneDate is greater than anotherDate" Other things that you may investigate... USR HOUR USR MINUTE USR SECOND USR YEAR USR MONTH USR DAY USR DAYOFWEEK finally, you may want to look at SECS2DATE and DATE2SECS for converting to and from a long integer date number. Good luck! Best, -STAZ ~)~ 800.348.2623 Orders http://www.stazsoftware.com 228.255.7086 FAX mailto:staz@...