#lumen-checkout-subs
1 messages · Page 1 of 1 (latest)
Hi 👋
I think there is a wonderfully simple explanation for this
moment.js defaults to millisecond timestamps when using moment(123456) for example
But Stripe timestamps are seconds since 12 am 1/1/1970. Also known as "epoch time"
So according to their docs:
https://momentjs.com/docs/#/parsing/unix-timestamp/
You should be using moment.unix()
Let me know if that works better for you.
Wow, that's perfect, thank you so much!
You guys are amazing, this discord is so helpful!