RegEx question

Dom mcdomi at free.fr
Sun Apr 11 16:06:02 EDT 2004


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)

-- 
Vous parlez français ? faites un tour sur le groupe francophone !
revolutionfr-subscribe at yahoogroupes.fr
Jetez un oeil sur RevoBlog <http://revoblog.free.fr> !


More information about the use-livecode mailing list