Clock Object

Top  Previous  Next

Description

 

Constants

adjustMax

Gets the maximum value that can be assigned to the adjustment property.

timeAlaska

Gets the value for Alaska time.

timeCentral

Gets the value for Central time.

timeEastern

Gets the value for Eastern time.

timeHawaii

Gets the value for Hawaii time.

timeMountain

Gets the value for Mountain time.

timePacific

Gets the value for Pacific time.

Static Functions

getMilliseconds

Gets the value of millisecond counter.

getSunrise

Gets the time of today's sunrise.

getSunset

Gets the time of today's sunset.

setDateTime

Sets the current date and time.

Static Properties

adjustment

Gets or sets the accuracy adjustment for the clock.

DSTendDate

Gets or sets the date Daylight Savings Time ends.

DSTendDay

Gets or sets the day of the week that Daylight Savings Time ends.

DSTshift

Gets or sets the amount of time Daylight Saving Time shifts the clock.

DSTstartDate

Gets or sets the date Daylight Savings Time starts.

DSTstartDay

Gets or sets the day of the week that Daylight Savings Time starts.

latitude

Gets or sets the latitude.

longitude

Gets or sets the longitude.

serverIP

Gets or sets the IP address of the network time server.

timeZone

Gets or sets the time zone.