mirror of
https://github.com/pocketpy/pocketpy
synced 2026-06-21 07:57:10 +08:00
217 B
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" :::