#patricia

1 messages · Page 1 of 1 (latest)

broken roostBOT
modest panther
#

Hey there

#

Where are you seeing Oct 19, exactly?

#

In your Dashboard?

turbid berry
#

Yes, the first invoice is set for Oct 19

modest panther
#

Gotcha, the Dashboard is localized. What timezone are you in?

turbid berry
#

Oh

modest panther
#

All timestamps via the API are UTC

turbid berry
#

I'm in ET right now

modest panther
#

So yeah that's why

turbid berry
#

What I'm doing:

  • I create a datetime set to midnight (local tz)
  • I get the timestamp of that datetime
  • I pass that timestamp in
#

*in to stripe

#

Would it not be the case that what I see in the dashboard should be a day ahead and not a day behind?

#

Actually, never mind. I see the issue. The Dashboard as you said is in ET (actually PT), while the date I passed in is UTC midnight. So the Dashboard shows a day earlier

#

Thank you!