Help. I'm using PayPal's API to get a report of all the yesterday's 
transactions. I'm in California, and I define "yesterday" as California's 
yesterday, midnight to midnight.

PayPal wants the STARTDATE and ENDDATE provided in UTC/GMT. I'm building and 
testing my report using this:

$start = gmdate('Y-m-d\TH:i:s.00\Z', strtotime("yesterday 00:00:00"));
$end = gmdate('Y-m-d\TH:i:s.00\Z', strtotime("yesterday 23:59:59"));

which produces:


I think this is right, since it's 7 hours off California time, but I just need 
someone to double check my spinning head. Will this give me the PayPal 
transactions that arrived during California's yesterday, or do I need to change 
PHP General Mailing List (
To unsubscribe, visit:

Reply via email to