Answers for "how to get datetime javascript now"

0

how to get datetime javascript now

var currentdate = new Date();
var datetime = "Last Sync: " + currentdate.getDay() + "/" + currentdate.getMonth() 
+ "/" + currentdate.getFullYear() + " @ " 
+ currentdate.getHours() + ":" 
+ currentdate.getMinutes() + ":" + currentdate.getSeconds();
Posted by: Guest on October-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language