pocketpy/modules/datetime.md
2026-07-01 03:44:17 +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" :::