from datetime import datetime


def timestamp(dt:int, fmt:str):
    """Helper function to convert timestamp to string
    
    Arguments:
        dt {int} -- timestamp
        fmt {str} -- datetime format
    
    Returns:
        str -- datetime string
    """
    return datetime.fromtimestamp(int(dt)).strftime(fmt)