Level 39
a period of days with this format and value
don't understand
1647436285 is just seconds, you can add a period in seconds and see date
date('Y-m-d',1647436285+2*86400)
=> "2022-03-18"
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a date with strtotime format 1647436285 and a period of days with this format and value P1D, i want to add this period to this date
Please or to participate in this conversation.