Calculating past and future dates < PHP | The Art of Web

PHOTO EMBED

Wed Apr 07 2021 15:29:38 GMT+0000 (Coordinated Universal Time)

Saved by @mvieira

echo date('l jS F (Y-m-d)', strtotime('-3 days'));
content_copyCOPY

https://www.the-art-of-web.com/php/strtotime/