At 12:09 09.01.2003 -0500, you wrote:
Hi Brad...

Thanks for responding.

As half of what I'm doing is going to be distributed to Europe, and they
format the date differently from the US (my system), will temporarily
changing the itemDelimiter do anything to screw up
either-side-of-the-Atlantic systems regarding date?

For instance, put the short date (US) returns
-- "1/9/2003"
But is there a chance that this could be something like
-- "2003/9/1"
somewhere else, or maybe something different?
IIRC 2003.01.09 would be the ISO normed date format, the date is written like this in China.
On a German system the date format is like this:

put (the short date)
-- "09.01.2003"



Maybe I should make a linear list out of the items in the short date and
search for the one that has a length of 4?  Would it always be 4, i.e. could
some far off place like Lesotho, Belarus or the Canary Islands return 03
instead of 2003?
Why would you want to do labourous and difficult calculations like this? lingo has that comfortable date() data type, just do

put the systemdate
-- date( 2003, 1, 9 )

or

put (the systemdate).year
-- 2003
put (the systemdate).month
-- 1
put (the systemdate).day
-- 9


regards
daniel plaenitz
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to