JSFiddle - React, Tailwind, and code Playground

HTML

<input id="foo" name="foo" type="text" value="" size="55" />

JavaScript

jQuery(document).ready(function()
    {
        var now = new Date();
         jQuery('#foo').val(now.toString());        
    });