Objects >
Date
javascript Date Description
The Date object is a static object that generates instances by way of several constructor functions. Each instance of a Date object is a snapshot of t
javascript Date constructor
This is a reference to the function that created the instance of a Date objectthe native Date( ) constructor function in browsers.
javascript Date prototype
This is a property of the static Date object. Use the prototype property to assign new properties and methods to future instances of a Date va
javascript Date getDate( )
Returns the calendar date within the month specified by an instance of the Date object.
javascript Date getUTCDate( )
Returns the calendar date within the month specified by an instance of the Date object but in the UTC time stored internally by the browser.
javascript Date getUTCDay( )
Returns an integer corresponding to a day of the week for the date specified by an instance of the Date object but in the UTC time stored internal
javascript Date getUTCFullYear( )
Returns all digits of the year for the date specified by an instance of the Date object but in the UTC time stored internally by the browser.
javascript Date getUTCHours( )
Returns a zero-based integer corresponding to the hours of the day for the date specified by an instance of the Date object but in the UTC time st
javascript Date getUTCMilliseconds( )
Returns a zero-based integer corresponding to the number of milliseconds past the seconds, but in the UTC time stored internally by the browser.
javascript Date getUTCMinutes( )
Returns a zero-based integer corresponding to the minute value for the hour and date specified by an instance of the Date object but in the UTC ti
javascript Date getUTCMonth( )
Returns a zero-based integer corresponding to the month value for the date specified by an instance of the Date object but in the UTC time stored
javascript Date getUTCSeconds( )
Returns a zero-based integer corresponding to the seconds value past the nearest full minute of the date specified by an instance of the Date obje
javascript Date getVarDate( )
Returns a date value in a format (called VT_DATE ) suitable for a variety of Windows-oriented applications, such as ActiveX controls and VBScript.
javascript Date getDay( )
Returns an integer corresponding to a day of the week for the date specified by an instance of the Date object.
javascript Date getFullYear( )
Returns all digits of the year for the date specified by an instance of the Date object.
1-15 / 50
>
Powered by Linode.