pocketpy/modules/datetime.md
2026-07-09 04:47:13 +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" :::