javascript - format string from Date.getTime() -
for reason can't find answer how format string new date().gettime().
when run string, sequence of numbers such 1395430135200.
how format readable date time zone?
why not use new date()?
var = new date(); console.log(now.tolocaledatestring()); console.log(now.tolocaletimestring());
Comments
Post a Comment