Closed Bug 288463 Opened 19 years ago Closed 19 years ago

JavaScript 1.5 Reference - Date.prototype.getTime returns UTC

Categories

(Documentation Graveyard :: Web Developer, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Unassigned)

References

Details

The JS15 Ref states in
<http://devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/date.html#Method%20Summary>
and
<http://devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/date.html#1193811>

<quote>
getTime

Returns the numeric value corresponding to the time for the specified date
according to local time.   
</quote>

getTime actually returns the UTC time number not the local timezone time number.
You need to log in before you can comment on or make changes to this bug.