def ts_to_str(timestamp):
 date = datetime.datetime.fromtimestamp(timestamp)
 date_string = date.strftime('%d/%m/%Y %H:%M %Z')
 return date_string

def ts_to_str ( timestamp ) : date = datetime . datetime . fromtimestamp ( timestamp ) date_string = date . strftime ( '%d/%m/%Y %H:%M %Z' ) return date_string
return a timestamp as a nicely formated datetime string .