JSREF

JavaScript Date valueOf()

Get the primitive value of a date object: