import datetime


def epoch_to_datetime(value):
    """
    Converts epoch(unix) time into python datatime
    """
    # return datetime.datetime.fromtimestamp(value)
    return datetime.datetime.fromtimestamp(value).strftime('%c')