JSFiddle - React, Tailwind, and code Playground
by brigand
JavaScript
var date = new Date('2020-05-17 23:59:59Z'),
today = new Date();
console.log(date.toString())
if (date >= today) {
console.log('true');
}
by brigand
var date = new Date('2020-05-17 23:59:59Z'),
today = new Date();
console.log(date.toString())
if (date >= today) {
console.log('true');
}