The getTime() method of date object returns numeric value of specified date. Use it for example to get numeric value of specified date.
Syntax
This will produce following result