JavaScript Programmer's Reference - Date Object
You are here: irt.org | XRef | core | Date
Date Object
Object/core |
Internet Explorer 3.02 |
Netscape Navigator 2 |
The Date object is particularly bug prone in Netscape Navigator version 2. |
Date Constructors
Name | MSIE | NNav | Notes |
---|
Date() | 3.02 | 2 | |
Date Methods
Name | MSIE | NNav | Notes |
---|
getDate() | 3.02 | 2 | |
getDay() | 3.02 | 2 | |
getFullYear() | 4 | 4 | |
getHours() | 3.02 | 2 | |
getMilliseconds() | 4 | 4 | |
getMinutes() | 3.02 | 2 | |
getMonth() | 3.02 | 2 | |
getSeconds() | 3.02 | 2 | |
getTime() | 3.02 | 2 | |
getTimezoneOffset() | 3.02 | 2 | |
getUTCDate() | 4 | 4 | |
getUTCDay() | 4 | 4 | |
getUTCFullYear() | 4 | 4 | |
getUTCHours() | 4 | 4 | |
getUTCMilliseconds() | 4 | 4 | |
getUTCMinutes() | 4 | 4 | |
getUTCMonth() | 4 | 4 | |
getUTCSeconds() | 4 | 4 | |
getVarDate() | 4 | - | |
getYear() | 3.02 | 2 | Unstandardised. |
setDate() | 3.02 | 2 | |
setFullYear() | 4 | 4 | |
setHours() | 3.02 | 2 | |
setMilliseconds() | 4 | 4 | |
setMinutes() | 3.02 | 2 | |
setMonth() | 3.02 | 2 | |
setSeconds() | 3.02 | 2 | |
setTime() | 3.02 | 2 | |
setUTCDate() | 4 | 4 | |
setUTCFullYear() | 4 | 4 | |
setUTCHours() | 4 | 4 | |
setUTCMilliseconds() | 4 | 4 | |
setUTCMinutes() | 4 | 4 | |
setUTCMonth() | 4 | 4 | |
setUTCSeconds() | 4 | 4 | |
setYear() | 3.02 | 2 | Unstandardised. |
toDateString() | 5.5 | 6 | |
toGMTString() | 3.02 | 2 | This function is now deprecated and you should use toUTCString() instead. |
toLocaleDateString() | 5.5 | 6 | |
toLocaleString() | 3.02 | 2 | |
toLocaleTimeString() | 5.5 | 6 | |
toSource() | 4 | 4.06 | |
toString() | 3.02 | 2 | |
toTimeString() | 5.5 | 6 | |
toUTCString() | 4 | 4 | |
valueOf() | 4 | 3 | |
Date Static Methods
Date Functions
Name | MSIE | NNav | Notes |
---|
Date() | 3.02 | 2 | |
Date Properties
Name | MSIE | NNav | Notes |
---|
constructor | 3.02 | 3 | |
length | 4 | 4 | |
prototype | 4 | 3 | |
You are here: irt.org | XRef | core | Date
©2018 Martin Webb