Safe to assume that all Stripe API dates are in UTC?

2,317 views
Skip to first unread message

Dave Rapin

unread,
Aug 28, 2017, 10:32:55 AM8/28/17
to Stripe API Discussion
For example in the payout object, is "arrival_date" in UTC?

I've been assuming so since these are ints and don't contain timezone data, but I figured I should check just in case they are stored based on the accounts timezone preference.

Matthew Arkin

unread,
Aug 28, 2017, 10:37:33 AM8/28/17
to api-d...@lists.stripe.com
All dates/times are Unix timestamps which by definition is utc


From: api-d...@lists.stripe.com <api-d...@lists.stripe.com> on behalf of Dave Rapin <da...@rapin.com>
Sent: Monday, August 28, 2017 7:25:15 AM
To: Stripe API Discussion
Subject: [stripe-api-discuss] Safe to assume that all Stripe API dates are in UTC?
 
For example in the payout object, is "arrival_date" in UTC?

I've been assuming so since these are ints and don't contain timezone data, but I figured I should check just in case they are stored based on the accounts timezone preference.

--
You received this message because you are subscribed to the Google Groups "Stripe API Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.
To post to this group, send email to api-d...@lists.stripe.com.
Visit this group at https://groups.google.com/a/lists.stripe.com/group/api-discuss/.

Dave Rapin

unread,
Aug 28, 2017, 10:50:24 AM8/28/17
to Stripe API Discussion
Yes that became obvious to me right after I hit send :) Thanks!
Reply all
Reply to author
Forward
0 new messages