I've just noticed that if the date selected is 20/2/2004 11:35, dateformat
correctly outputs it - 2004/02/20 (yyyy/mm/dd), but if the date selected is
5/2/2004 11:35, the output is - 2004/05/02. I have the meta tag on top of my page
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Any thoughts?

>Probably, your locale is US, so it formats a US date (mm/dd/yyyy). I
>always use ISO-format and if I have a text field with a date, I write a
>function to transform it to ISO (yyyy-mm-dd).
>
>>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to