pocketpy/modules/datetime.md
2026-04-29 04:55:21 +00:00

12 lines
217 B
Markdown

### `datetime.now()`
Returns the current date and time as a `datetime` object.
### `date.today()`
Returns the current local date as a `date` object.
#### Source code
:::code source="../../python/datetime.py" :::