Create a DateTime instance for today.
(tz: str | Timezone = "local")
| 247 | |
| 248 | |
| 249 | def today(tz: str | Timezone = "local") -> DateTime: |
| 250 | """ |
| 251 | Create a DateTime instance for today. |
| 252 | """ |
| 253 | return now(tz).start_of("day") |
| 254 | |
| 255 | |
| 256 | def tomorrow(tz: str | Timezone = "local") -> DateTime: |