JSFiddle - React, Tailwind, and code Playground

JavaScript

var expirationDate = new Date("Wed, 16 Oct 2013 15:42:53 GMT");
var now = new Date();
alert(now > expirationDate);