def to_datetime(value):
 return (epoch + timedelta(seconds=value))

def to_datetime ( value ) : return ( epoch + timedelta ( seconds = value ) )
convert a posix timestamp to a time zone aware datetime .