Represents a specific instant in a specific timezone.
Field | Type | Description |
object_type | string | Will always be "time". |
is_valid | true/false | Will always be true. |
is_future | true/false | Will be true if the instant is in the future and false if the instant is in the past. |
year | integer | The calendar year. |
month | integer | The calendar month (1-12) |
day | integer | The calendar day of the month (1-31) |
day_of_year | integer | The day of the year (1-366). |
day_of_week | number | The day of the week (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday) |
hour | integer | The hour of the day (0-23) |
minute | integer | The minute of the hour (0-59) |
second | integer | The second of the minute (0-59) |
offset | time_diff | The utc offset of the timezone at this instant expressed as a time_diff (ranging from -14 to +14 hours) |
timezone | string | The full timezone identifier |
timezone_short | string | The shortened timezone identifier, if applicable, for the given timezone at this instant (may vary depending on time of year, and for some timezones may be the same as the full timezone identifier). |
Calendar Entry time and formatting
CopyTime advanced
Copy