Date Methods Before you can do anything which involves the current date/time, you have to set a variable equal to the current date. now = new Date() is command to get the current date and time from the user's computer, and assign it to the variable, now in one long string. toLocaleString() is a method which converts the raw date/time string of text into the local convention. Depending on what country JavaScript thinks the user is in, the toLocaleString() may present the month first, or the day first. now = new Date(); LocalTime = now.toLocaleString(); now = now.toLocaleString() = HR=now.getHours() //Hours MN=now.getMinutes() //Minutes SC=now.getSeconds() //Seconds