JSFiddle - React, Tailwind, and code Playground
by j08691
JavaScript
today = new Date();
month = ((today.getMonth() + 1) < 10) ? '0' + (today.getMonth() + 1) : (today.getMonth() + 1);
document.write("<BR>Time: ", today.getHours(), ":", today.getMinutes());
document.write("<BR>Date: ", today.getDate(), "/", month, "/", today.getYear() - 100);