getTime()
The current number of milliseconds between midnight (GMT) 1/1/1970 and the date set in the Date object.
This function will return a date in milliseconds. This function may be useful to compare two Date objects or the time elapsed between two dates.