Broken-down time (Definition)

Time disassembled into component parts, for example hours or minutes.

Broken down time is handled with a time structure in the C language. Breaking down a time value in that context can require several lines of code. However, JavaScript provides the Date object class, which supports methods for accessing the separate time and date components.

The following time components are available:

These values are available measured in either local time or UTC time.

There are also facilities to convert back and forth between local time and UTC time.

See also:Calendar time, Date and time, Date from time, Date number, Date object, Day from year, Day number, Day within year, Daylight savings time adjustment, Days in year, Local time, Local time zone adjustment, Locale-specific behavior, Time from year, Time range, Time value, Time within day, TimeClip(), Universal coordinated time, Year from time, Year number