def get_start_duration(start_time=None, end_time=None):
    
    if start_time:
        start_time_sec = calendar.timegm(start_time.timetuple())
        if end_time:
            duration = end_time - start_time
            duration = duration.total_seconds()
        else:
            duration = None
    else:
        start_time_sec = None
        duration = None
        
    return (start_time_sec, duration)
Get the last time in seconds since The Epoc since the last pkg list sync
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient_geni/planetlab/sfa-models.py/get_start_duration--crossover with--dataset/ETHPy150Open cakebread/yolk/yolk/pypi.py/CheeseShop.get_last_sync_file