Time Class

This is the interface to use if you want to get the users local time. This includes the date and the current time of day.

Note that each instance is a snapshot of the current time. They do not update, unless you alter their values.

You can also use this class to create Time objects that represent specific dates and times.

new

year

month

monthName

day

weekday

weekdayName

hours

minutes

seconds

milliseconds

toMilliseconds

setDate

setTime

setDateTime

clone