mirror of
https://github.com/pocketpy/pocketpy
synced 2026-05-06 18:23:38 +00:00
12 lines
217 B
Markdown
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" :::
|