Time and date Updated: 01/31/2019 by Computer Hope Example Source code <script type="text/javascript"> var d=new Date(); document.write('Today is ' + d + ' <br> '); </script> Related information See our date, JavaScript, and time definitions for further information and related links on these terms.