Answers for "take timezone off of date() js"

0

get timezone javascript

const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
console.log(timezone);
Posted by: Guest on October-14-2021
0

how to remove timezone from date in javascript

let date = new Date(1432851021000);
date.toDateString(); 
// outputs to "Thu May 29 2015"
Posted by: Guest on April-10-2021

Code answers related to "take timezone off of date() js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language