File size: 259 Bytes
153ea2b | 1 2 3 4 5 6 7 8 9 10 11 | """Current local date/time tool."""
from __future__ import annotations
from datetime import datetime
def current_datetime_iso() -> str:
"""Return current local date and time as an ISO string."""
return datetime.now().isoformat(timespec="seconds")
|