According to this page:
http://apidocs.mailchimp.com/1.3/listsubscribe.func.php,
MailChimp uses PHP's strtotime() function to parse dates.
My client is in US Pacific Time, and their MailChimp account is set to
Pacific, as far as I know.
When I put the time "2011-04-30 01:15:56 UTC" into a date format merge
field, I would expect it to be displayed in MailChimp's UI in Pacific
time. That is, it should show "04/29/2011". Instead, it shows
"04/30/2011".
This seems to mean that MailChimp isn't really using strtotime(), or
that the "UTC" part of my timestamp is being truncated.
Here is some PHP code that demonstrates how strtotime() should work:
$time = strtotime('2011-04-30 01:15:56 UTC');
date_default_timezone_set('America/Los_Angeles');
echo date('m/d/Y', $time);
The above code outputs "04/29/2011", as one would expect.
Is my only option to pre-convert timestamps to Pacific? The only
problem with that is that if the management of the list changes to our
East Coast team, some dates will be wrong again, and setting
MailChimp's time zone will not help.