aeroswat Posted January 18, 2010 Share Posted January 18, 2010 I've tried the following but it doesn't seem to work for me var d=new Date(); alert(d.format("m/d/Y")); Link to comment https://forums.phpfreaks.com/topic/188946-how-to-get-a-date-string-in-javascript/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.