Answers for "Get local time"

0

Get local time

let s= new Date().toLocaleString();

console.log(s);
 Run code snippet
Posted by: Guest on October-18-2021

Browse Popular Code Answers by Language