jztools.datetime#
Module Attributes
A string representation of a tzinfo (e.g., |
Functions
|
Converts a string to a tzinfo object (or returns the tzinfo object). |
|
|
|
Returns the timezone offset at the current time as a timedelta of tza relative to tzb. |
- jztools.datetime.TZInfoRep#
A string representation of a tzinfo (e.g.,
'US/Eastern') or a tzinfo.alias of
Union[str,tzinfo]
- jztools.datetime.as_tzinfo(tz_in: str | tzinfo) tzinfo#
Converts a string to a tzinfo object (or returns the tzinfo object).
- jztools.datetime.tz_offset(tza, tzb) timedelta#
Returns the timezone offset at the current time as a timedelta of tza relative to tzb.