Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vincent 75 posts 98 karma points
    Sep 10, 2010 @ 21:38
    Vincent
    0

    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!

  • Steen Tøttrup 191 posts 291 karma points c-trib
    Sep 10, 2010 @ 23:06
    Steen Tøttrup
    0

    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) ??

  • Vincent 75 posts 98 karma points
    Sep 13, 2010 @ 16:59
    Vincent
    0

    Thanks Steen for the reply, my language is french, finaly I did my own parsing of the date string and it's working.

Please Sign in or register to post replies

Write your reply to:

Draft