Convert System.DateTime to Javascript DateString

Posted by SARAVAN on Stack Overflow See other posts from Stack Overflow or by SARAVAN
Published on 2010-03-15T18:52:49Z Indexed on 2010/03/15 23:09 UTC
Read the original article Hit count: 258

Filed under:
|
|
|

I am working on an ASP .net MVC application.

I have a System.DateTime? property say creationDate, which gets its value assigned from controller code. In my javascript I have access to this value, and I wanted to display this value in mm/dd/yyyy format in my grid. But I am not sure on how to convert System.Datetime? of c# to a javscript date or datestring value? Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about datetime

Related posts about JavaScript