01/01/1969" is a date = true on Mac but not on Windows?

Klaus Major klaus at major-k.de
Wed Dec 3 05:54:16 EST 2008


Hi Wolfgang,

> Hi Klaus,
>
> what's about
> put "result = IsDate(" & quote & "01/01/1969" & quote & ")" into tvb
> do tvb as vbscript
> put the result

WOW! This is absolutely fantastic, thanks a lot! :-)

Looks like this works for english and also german dates.
I tested all these variations and got "true":

01/01/1969
31/01/1969
31-01-1969
31.01.1969
31.01.69
01/01/69
31/01/69
31-01-69
01/31/1969
31.1.69

Waaaaay cool!

> best
>
> G.Wolfgang Gaich

Best from germany to germany :-)

Klaus Major
klaus at major-k.de
http://www.major-k.de





More information about the use-livecode mailing list