Skip to main content
Version: 0.4.3

datetime

  • datetime
    • ticks() -> float Return the current time in seconds since the Epoch. Fractions of a second may be present if the system clock provides them.
    • date() -> str Return the %Y-%m-%d %H:%M:%S format date.
    • now() -> str Return the local time. e.g. 'Sat Jun 06 16:26:11 1998'
    • today() -> str Return the %Y-%m-%d %H:%M:%S.%{ticks} format date.

time

ticks() -> float

Return the current time in seconds since the Epoch. Fractions of a second may be present if the system clock provides them.

date

date() -> str

Return the %Y-%m-%d %H:%M:%S format date.

now

now() -> str

Return the local time. e.g. 'Sat Jun 06 16:26:11 1998'

today

today() -> str

Return the %Y-%m-%d %H:%M:%S.%{ticks} format date.