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

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -