RegEx question

Yves COPPE yvescoppe at skynet.be
Sun Apr 11 16:19:51 EDT 2004


Le 11-avr.-04, à 22:06, Dom a écrit :

> Yves COPPE <yvescoppe at skynet.be> wrote:
>
>> I have a function to check if a string is a date in European format :
>> DD/MM/YYYY
>
> Date problems are daunting ;-)
>
> First, are you sure that the user's system date follows the 
> "DD/MM/YYYY"
> scheme?
>
> Second, in this sort of problem, I tend to do a convert, such as:
>
> convert tDate from system date to english date
>
> then do a simple test:
>
> if tDate is a date then dosomething else doanotherthing
>
> because the "is a date" test works only for the the "english" date
> format (if I am not wrong)
>
>

Thank for the tip !

Greetings.

Yves COPPE
yvescoppe at skynet.be


More information about the use-livecode mailing list