• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Core Syntax > Date.valueOf()

Date.valueOf()

JavaScript1.1+, JScript3.0+, ECMAScript1.0+ NES2+, Nav3+, IE4+, Opera3+ Syntax

							date.valueOf()

Description

The valueOf() method returns the primitive value of the object. In terms of an instance of a Date object, this method returns the equivalence of the Date object in milliseconds. The milliseconds are expressed as an integer representing the number of milliseconds between midnight January 1, 1970 (GMT) to the date and time specified in the Date object.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint