Krzysztof,

You're right. I am expecting the digits in the time format to have leading zeros, because I thought that was the "proper" ODBC format. But I should allow single digits, and prepend the zero. Good suggestion. I'll implement that in a few minutes.

Thanks,
Chris

Krzysztof FF wrote:
I've experienced many problems when converting date from database to usable
format, so your work is great.

But copying date taken after pressing "Current time", from:
Current Time in ODBCDateTime format: {ts '2006-11-9 14:57:5'}

and pasting it into Enter a string to convert box, gives an error:
"invalid odbc date format"

Correcting date string to {ts '2006-11-09 14:57:05'} (leading zeros in day
and seconds) gives proper answer:
Sat Dec 9 14:57:05 UTC+0100 2006

I do not know whether your output procedure is not up to format, or your
input procedure is too rigorous, but it shouldn't be that way...

Regards,

Krzysztof



  
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to