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

217 B

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" :::