Module zut.timezone

Functions

get_timezone_key([tz])

make_aware(value[, tz])

Make a datetime aware in the given timezone (use tz=None or tz='localtime' for the system local timezone or tz='UTC' for UTC).

make_naive(value[, tz])

Make a datetime naive and expressed in the given timezone (use tz=None or tz='localtime' for the system local timezone or tz='UTC' for UTC).

now_aware([tz, no_microseconds])

Get the current aware datetime in the given timezone (use tz=None or tz='localtime' for the system local timezone or tz='UTC' for UTC).

now_naive([tz, no_microseconds])

Get the current naive datetime in the given timezone (use tz=None or tz='localtime' for the system local timezone or tz='UTC' for UTC).

parse_timezone([tz])