locked
Convert UTC time to Local Time using JavaScript in MS CRM 2011 RRS feed

  • Question

  • Hi All,

    We have the requirement to get the Local Date and Time depends on the TimeZone we selected from the optionset.

    Is there any solution to get the local time on selection of Optionset value(Time Zone) using JavaScript.

    We have the "LocalTimeFromUTCTimeRequest" message. I want to use this message in JavaScript SOAP/Odata call.

    Any help greatly appriciated.. 

    Thanks

    Srikanth Reddy

    Monday, October 13, 2014 2:22 PM

Answers

  • Hi, I think you can try SOAP for this. It works fine through c#. Try to implement the same through SOap

    http://inogic.com/blog/2013/06/how-to-convert-the-datetime-in-local-and-utc-date-time-format/

    You can also try below link through JavaScript.

    http://stackoverflow.com/questions/85116/how-do-i-display-a-date-time-in-the-users-locale-format-and-time-offset Thanks!


    Tuesday, October 14, 2014 5:48 AM