>>To avoid this confusion I tend to always use a mmm month as in "25 Jul 
2003", I expect someone will tell me otherwise, but I have never come 
across a date in this format which isdate() recognizes wrongly. 
 

Fine, but how do you you make sure tha the date submitted is in that format? ;-)
 

The purpose of the function isDate() is supposed to check if a string represents
a valid date 

in the US format ("mm/dd/yyyy"). If it accepts any date in any format at any pri
ce, it is completely useless. 
 
To solve the problem, I made a new tag and function: CF_convertDate 
( free, see http://www.contentbox.com/claude/customtags/tagstore.cfm?p=hf ) 

It will validates a date in any format, BUT the programer specifies the format! 
No guessing here. 
It will also convert the date into any other format, including ODBC. 
It is more general than ODBCdate I made earlier and it replaces it. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to