import time


def _format_time(epoch_time, format_string="%Y-%m-%d %H:%M:%S"):
    """Return a formatted representation of an epoch timestmap"""
    return time.strftime(format_string, time.localtime(epoch_time))