Hi,
Previously I was using the constant contact V1 to get all the bounce records. Now i am moving to V2 to get all the bounce records. But when i campare the record from V1 to V2, i have found some data mismatch issue. for the same record In V1 output the Event Time is: "2015-08-13T08:49:00.000-07:00". but in V2 output the bounce date is :" 2015-08-13T15:49:00.000Z". so my question is how can i get the Event Time from V2 services.
Hello,
The difference you are seeing is that in V1 the timezone for the ISO-8601 timestamp is localized while in V2 all timestamps are returned as UTC. You can see the difference in bold below:
V1 2015-08-13T08:49:00.000-07:00 V2 2015-08-13T15:49:00.000Z (Z indicates UTC)
If you do the timezone math, 15:49 (UTC) - 7 hours is 08:49, which is what the V1 API returns. Most date/time libraries handle these timestamps and will automatically handle the timezone conversions when parsing a date/time string in the format that we return.
If you have any questions about this, please let me know!
Sincerely,
Thanks Elijah G.
The holidays have come and gone. For many seasonal businesses, this means the rush of shoppers has decreased as well. Instead of turning off the lights and waiting for spring, make your email marketi...
See Article