valueOf method returns the primitive value of a Date object.
Note: You can use valueOf within your own code to convert a built-in object into a primitive value.
|Number||Returns the number of milliseconds between 1 January 1970 00:00:00 UTC and the given date.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.