// current date and time variables

new Date();
var yourDate = new Date();
yourDate.getMonth();
yourDate.getDate();
yourDate.getYear();
yourDate.getHours();
yourDate.getMinutes();
yourDate.getSeconds();
yourDate.getDay();
yourDate.getTime();
yourDate.toLocaleString();

// display date & time

document.write("<p style='font-size: 9pt;'>" + yourDate.toLocaleString() + "</p>");

// END
