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


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)



Thank for the tip !


Greetings.

Yves COPPE
[EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to