def uptime(format=False):
    """
    Get the current uptime of the server since last reload

    Args:
        format (bool, optional): Format into time representation.

    Returns:
        time (float or tuple): The uptime or the same time split up
            into time units.

    """
    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