JSFiddle - React, Tailwind, and code Playground

by brigand

JavaScript

var date  = new Date('2020-05-17'),

		    now = new Date();

console.log(date.toString())
		if (date >= now) {
			console.log('true');
		}