

def uptime(format=False):
    '\n    Get the current uptime of the server since last reload\n\n    Args:\n        format (bool, optional): Format into time representation.\n\n    Returns:\n        time (float or tuple): The uptime or the same time split up\n            into time units.\n\n    '
    uptime = (time() - SERVER_START_TIME)
    if format:
        return _format(uptime, 31536000, 2628000, 604800, 86400, 3600, 60)
    return uptime

dataset/ETHPy150Open evennia/evennia/evennia/utils/gametime.py uptime/original