How?- is the chunk a date?

Sarah Reichelt sarahr at genesearch.com.au
Tue May 10 22:49:30 EDT 2005


> ? Can I do something like:
>
> if item -2 of tCurrentRec is a date then...
>
>
Yes :-)

That is provided your dates are in US format.
If you use any other format, you will need:

set the useSystemDate to true
if item -2 of tCurrentRec is a date then ...

This works for long & short dates.

Cheers,
Sarah



More information about the use-livecode mailing list