JSFiddle - React, Tailwind, and code Playground
by tea4two
JavaScript
var today = new Date('2013/04/01 00:00:00');
console.log(today);
console.log(today.getUTCFullYear());
var UTCstring = today.toUTCString();
console.log(UTCstring);
by tea4two
var today = new Date('2013/04/01 00:00:00');
console.log(today);
console.log(today.getUTCFullYear());
var UTCstring = today.toUTCString();
console.log(UTCstring);