BadReese
4/15/2018 - 4:28 PM

#python

#python

def get_zero_timestamp(self):
    cur_timestamp = time.time()
    cur_time = time.localtime(cur_timestamp)
    zero_time_stamp = cur_timestamp - (
            cur_time.tm_sec + 60 * cur_time.tm_min + 3600 * cur_time.tm_hour)
    return zero_time_stamp