perseus_date
Need the current date/time in a specific format? Retrieve it with customizable tokens like YYYY, MM, DD, HH, mm, ss, z.
Instructions
Current date/time
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Date format using tokens YYYY, MM, DD, HH, mm, ss, z (default: YYYY-MM-DD HH:mm:ss). strftime-style %Y %m %d %H %M %S tokens are also accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unix | No | Unix epoch seconds | |
| iso8601 | No | ISO-8601 formatted timestamp | |
| datetime | No | Current date/time string |