Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

psmail's avatar

I don't understand the Stripe date / datetime format

Hi.

If I retrieve subscription data from stripe using their API I can see a property of "current_period_end" and it has a value of 1482779335. I don't recognise this as a date or date time format.

What is it? Do I need to do anything to it before I can store it in a database?

Many thanks.

0 likes
2 replies
psmail's avatar

Fantastic. Thanks for helping out.

Please or to participate in this conversation.