Search code examples
timeformattingpaypal

Paypal date formatting: what is "HH:MM:SS DD Mmm YY, YYYY PST"?


I'm looking at the PayPal IPN docs, and it says the datetime stamps of their strings are formatted as:

HH:MM:SS DD Mmm YY, YYYY PST

So year is specified twice?

Once in double digits, and another with 4 digits?

This looks bizarre.


Solution

  • This seems to be a bug in the documentation. The actual format should be "HH:MM:SS Mmm DD, YYYY PST" (e.g. "08:30:06 Apr 19, 2017 PDT")