I live in Québec, Canada and have to deal with french and english website.
I have a usercontrol that show a jQuery calendar and when I post the selected date it is formated as follow : dd/mm/yyyy but in my usercontrol I can't parse this as a date, I don't know what I'm doing wrong but it always look for a yyyy/mm/dd format.
Anyone has an idea?
PS : I noticed that my CurrentUICulture is 'en' and my CurrentCulture is 'fr'... weird.
Problem with date format in .net UC
Hi everyone,
I live in Québec, Canada and have to deal with french and english website.
I have a usercontrol that show a jQuery calendar and when I post the selected date it is formated as follow : dd/mm/yyyy but in my usercontrol I can't parse this as a date, I don't know what I'm doing wrong but it always look for a yyyy/mm/dd format.
Anyone has an idea?
PS : I noticed that my CurrentUICulture is 'en' and my CurrentCulture is 'fr'... weird.
Thanks for the help!
Which language have you chosen for your site (right click second level node in the content tree, select "Manage hostnames") ??
There's no way of getting the jQuery script to post the date as yyyy/mm/dd or as a unix date (seconds since January 1st 1970) ??
Thanks Steen for the reply, my language is french, finaly I did my own parsing of the date string and it's working.
is working on a reply...