def uptime(start_time):
    from datetime import datetime
    return datetime.now() - datetime.fromtimestamp(start_time)
Calculate the difference between now() and the given create_time.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/builtin_monitors/windows_system_metrics.py/uptime