def format_unixtime_ms(unixtime):
 if unixtime:
  return str(datetime.datetime.fromtimestamp((unixtime / 1000)).strftime('%x %X %Z'))
 else:
  return ''

def format_unixtime_ms ( unixtime ) : if unixtime : return str ( datetime . datetime . fromtimestamp ( ( unixtime / 1000 ) ) . strftime ( '%x %X %Z' ) ) else : return ''
format a unix timestamp in ms to a human readable string .