Answers for "convert javascritp getTime() to datetime"

0

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)
Posted by: Guest on April-18-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language