zvt.utils.time_utils

Functions

count_interval(start_date, end_date)

current_date([tz])

date_and_time(the_date, the_time[, tz])

date_time_by_interval(the_time[, interval, ...])

day_offset_today([offset])

get_local_timezone()

get_year_quarter(time)

get_year_quarters(start[, end])

is_same_date(one, two)

is_same_date_time(one, two)

month_end_date(the_date)

month_start_date(the_date)

month_start_end_ranges(start_date, end_date)

next_date(the_time[, tz])

Get the next date from the given time.

now_date_time_str([fmt, tz])

now_pd_timestamp([tz])

now_timestamp_ms()

pre_month([t, tz])

pre_month_end_date([t])

pre_month_start_date([t])

recent_year_date([tz])

split_time_interval(start, end[, method, ...])

to_date_time_str(date_time[, fmt, tz])

to_pd_timestamp(the_time[, tz])

to_timestamp_ms(the_time[, tz])

Convert a time to a timestamp in milliseconds.

tomorrow_date([tz])