PHP date format for Paypal PROFILESTARTDATE API in CreateRecurringPaymentsProfile

What PHP date format should I use for PROFILESTARTDATE when calling CreateRecurringPaymentsProfile using the Paypal API?

Paypal docs say: # Start of start date, in UTC / GMT format

+4
source share
1 answer

Could not find a good answer anywhere, but it ended up working fine. Hope this helps someone!

'PROFILESTARTDATE' => gmdate("Y-m-d\TH:i:s\Z")
+14
source

All Articles