Date Time format in JavaScript.

Posted by Allemahesh under JavaScript on 7/11/2013 | Points: 10 | Views : 892 | Status : [Member] [MVP] | Replies : 1
I have a date-time in hidden field coming form code. I am accessing this values in JavaScript. Now I want to convert this data to "yyyy-mm-dd hh:mm:ss tt" in JavaScript. Can any one help me.




Responses

Posted by: Allemahesh on: 7/15/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
I am getting the below error:-
dateFormat is not defined.
Any help.

Allemahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response