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: 2011-06-28T07:00:00.00Z 2011-06-29T06:59:59.00Z 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 something? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php