def _TO_DATESTRING(obj):
 try:
  return _GA(obj, 'db_date_created').strftime(_DATESTRING)
 except AttributeError:
  try:
   obj.save()
  except AttributeError:
   return None
  return _GA(obj, 'db_date_created').strftime(_DATESTRING)

def _TO_DATESTRING ( obj ) : try : return _GA ( obj , 'db_date_created' ) . strftime ( _DATESTRING ) except AttributeError : try : obj . save ( ) except AttributeError : return None return _GA ( obj , 'db_date_created' ) . strftime ( _DATESTRING )
creates datestring hash .