Get Datetime
get_datetimeGet the current date and time of the machine where LMCP runs — with timezone and UTC offset. Call this whenever you need the real 'now' on the user's computer: before creating calendar events or reminders, resolving relative dates like 'today'/'tomorrow'/'next Friday', or timestamping. Takes no arguments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| human | Yes | Human-readable local date/time. | |
| iso_utc | Yes | Current time in ISO 8601, UTC. | |
| weekday | Yes | ||
| timezone | Yes | IANA timezone identifier. | |
| iso_local | Yes | Current time in ISO 8601 with the machine's local UTC offset. | |
| utc_offset | Yes | UTC offset like +02:00. | |
| epoch_seconds | Yes | Unix epoch seconds. |