JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/ui-lightness/jquery-ui.css">
JavaScript
var date = new Date();
var m = date.getMonth() + 1;
var d = date.getDate();
var y = date.getFullYear();
var t = date.toLocaleTimeString().toLowerCase().replace(/:\d\d ([ap]m) .+$/,' $1');
alert(m + '/' + d + '/' + y + ' ' + t);