from lib.all import * st = get_today_zero_time() - 86400 * 7 et = st + 86400 print( get_time_str_by_ts(st), get_time_str_by_ts(et) )