Note that the first date object has been given the value February 12, 2006 rather than getting the current date from the computer.

var dateName = new Date("February 12, 2006");

The second date object was given the value 1776, 6, 4.

var anotherDate = new Date(1776, 6, 4);

The third date object was given no value and thus, gets the value from the computer.

var today = new Date();
Current Time; uses onload="setInterval('runningTime()', 1000)"