Yves COPPE <[EMAIL PROTECTED]> 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 !
[EMAIL PROTECTED]
Jetez un oeil sur RevoBlog <http://revoblog.free.fr> !
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to