Get Date and time
GetDate () Get Day 1-31
GetDay () Get Week 0-6
GetMonth () Get month 0-11
getFullYear () Get the full year (browser supported)
GetHours () Get hours 0-23
Getminutes () Get minutes 0-59
Getseconds () Get seconds 0-59
Getmilliseconds () Gets the current millisecond
GetTime () returns the cumulative number of milliseconds (from 1970/1/1 midnight)
SetInterval () This method invokes the function or evaluates the expression by the specified period (in milliseconds), and it calls the function repeatedly until Clearinterval () is called or the window is closed, and the ID value returned by SetInterval () is used as the Parameters of the Clearinterval () method
SetTimeout () This method is used to call a function or evaluate an expression after a specified number of milliseconds, and it executes code only once. If you want to call more than once, use SetInterval () or let code itself call SetTimeout () again.
JS Program Development-3