Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to use eurodate?

Status
Not open for further replies.

jorisp

Programmer
Joined
Jan 2, 2001
Messages
1
Location
BE
How can you let coldfusion work with european dates?
I have a form with a text input birthday. I want users to enter a date like dd/mm/yyyy. So in my form page I used #dateformat (birthday, 'dd/mm/yyyy')#.
In my action page I catch it up with
'#dateformat(createodbcdate (birthday), "dd/mm/yyyy")#' in an update statement. This works if you fill in 18/12/2000 or some day above 12. But if you enter 8/12/2000, it gets confused again and thinks the days are months, and the months are days. Does anybody had the same problem, or know an answer?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top