# `clock`

The date and time. Reading it wakes the shell only as often as what is
read changes.

| Field | Type | |
| --- | --- | --- |
| `today` | `Date` | Today's date: `clock.today.month_start()`. |
| `now` | `Date` | The current date and time, to the minute. |

| Method | |
| --- | --- |
| `fn format(pattern: text) -> text` | Wakes only as often as the pattern changes (once a minute for %H:%M). |
