JSFiddle - React, Tailwind, and code Playground

JavaScript

var now = new Date();
console.log(now.format("isoDateTime"));