Returns time equivalent of date/time, in milliseconds.

Syntax

<oRef>.getTime( )

<oRef>

The Date object whose time equivalent you want to return.

Property of

Date

Description

The getTime( ) method returns the number of milliseconds since January 1, 1970 00:00:00 GMT for the date/time stored in the Date object. All date/times are represented internally by this millisecond number.