Hello
How can I check the date in an easy way, if the date is
valid or invalid?
E.g.: Input-String is 31.02.2004 or 45.01.2004. I need
this string for a sql-select but I got an error because
the date is not valid for searching.
I don't want to check all months with valid days.
I wish something like this:
set error [check date (=input-string)]
error gives me 0 if it's ok or 1 if it's not ok.
Thanks a lot!
Thomas
How can I check the date in an easy way, if the date is
valid or invalid?
E.g.: Input-String is 31.02.2004 or 45.01.2004. I need
this string for a sql-select but I got an error because
the date is not valid for searching.
I don't want to check all months with valid days.
I wish something like this:
set error [check date (=input-string)]
error gives me 0 if it's ok or 1 if it's not ok.
Thanks a lot!
Thomas