Time

Explore what information is available for time.

This type represents a time of day as defined by the ISO 8601 standard.

Local times correspond to the time displayed on a 24-hour clock. They do not represent a specific point on the timeline but rather a time of day. For example, the time 12:00:00 represents noon, regardless of the date or time zone.

Range

The range of valid times is from 00:00:00 to 23:59:59.999999999.

Properties

These are the available properties:

hour

The hour of the day, from 0 to 23.

minute

The minute of the hour, from 0 to 59.

second

The second of the minute, from 0 to 59.

milli

The millisecond of the second, from 0 to 999.

micro

The microsecond of the second, from 0 to 999999.

nano

The nanosecond of the second, from 0 to 999999999.