JSFiddle - React, Tailwind, and code Playground by Yuriy Petrichenko March 03, 2018 JavaScript var day = new Date(); console.log(day.getHour);