Layout Options

  • Fixed Header
    Makes the header top fixed, always visible!
  • Fixed Sidebar
    Makes the sidebar left fixed, always visible!
Get Time

Description

The getTime() method returns the number of milliseconds since midnight of January 1, 1970 and the specified date.

This method has the form:

Date.getTime()

Examples

The following example shows the basic use of this method.

<script>
var d = new Date();
document.write(d.getTime());
</script>

This produces the following result:

Browser Support

Firefox IE Chrome Opera Safari