Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert javascritp getTime() to datetime

var time = new Date().getTime(); // get your number
var date = new Date(time); // create Date object

console.log(date.toString()); // result: Wed Jan 12 2011 12:42:46 GMT-0800 (PST)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #javascritp #datetime
ADD COMMENT
Topic
Name
5+5 =