import time


def utime(timestamp):
    """Converts a timestamp in a formated time string"""
    try:
        ts = float(timestamp)
    except ValueError:
        return None

    return time.strftime("%H:%M:%S", time.gmtime(ts))