code: def paypal_time(time_obj=None):
      
      warn_untested()
      if time_obj is None:
          time_obj = time.gmtime()
      return time.strftime(PayPalNVP.TIMESTAMP_FORMAT, time_obj)
docs: Returns a time suitable for PayPal time fields.