Share this Page URL
Help

Chapter 23. Core JavaScript Reference > Date.getUTCDate( ) - Pg. 457

Date.parse( ) and Date.UTC( ) allow you to convert a date and time specification to milli- second representation without going through the overhead of first creating a Date object. See Also Date, Date.parse( ), Date.setTime( ), Date.UTC( ) Date.getTimezoneOffset( ) Availability Synopsis date.getTimezoneOffset( ) determine the offset from GMT JavaScript 1.0; JScript 1.0; ECMAScript v1 Returns The difference, in minutes, between Greenwich Mean Time (GMT) and local time. Description getTimezoneOffset( ) returns the number of minutes difference between the GMT or UTC time and the local time. In effect, this function tells you what time zone the JavaScript code is running in and whether or not daylight savings time is (or would be) in effect at the specified date . The return value is measured in minutes, rather than hours, because some countries have time zones that are not at even one-hour intervals. Date.getUTCDate( ) Availability Synopsis date.getUTCDate( ) return the day of the month (universal time) JavaScript 1.2; JScript 3.0; ECMAScript v1 Returns The day of the month (a value between 1 and 31) that results when date is expressed in universal time. Date.getUTCDay( ) Availability Synopsis date.getUTCDay( ) return the day of the week (universal time) JavaScript 1.2; JScript 3.0; ECMAScript v1 Date.getUTCDay( ) | 457