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

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -