pocketpy/docs/modules/datetime.md
blueloveTH c5858b95db ...
2023-09-06 23:44:18 +08:00

12 lines
190 B
Markdown

---
icon: package
label: datetime
---
### `datetime.now()`
Returns the current date and time as a `datetime` object.
### `date.today()`
Returns the current local date as a `date` object.