Example:
Place the <script>print_date();</script> where you want the date to appear on your web page.
[ This code example from
Print Day, Date, Month & Year Javascript Code Snippet
page. ]