def paypal_time(time_obj=None):
 if (time_obj is None):
  time_obj = time.gmtime()
 return time.strftime(PayPalNVP.TIMESTAMP_FORMAT, time_obj)

def paypal_time ( time_obj = None ) : if ( time_obj is None ) : time_obj = time . gmtime ( ) return time . strftime ( PayPalNVP . TIMESTAMP_FORMAT , time_obj )
returns a time suitable for paypal time fields .