Answers for "php get date from 7d ays ago"

PHP
1

php strtotime 1 day ago from

date('Y-m-d', strtotime('+1 day', strtotime($date)))
Posted by: Guest on July-13-2020
0

today date to ago for the date in php

4 months ago
4 months ago
4 months, 2 weeks, 3 days, 1 hour, 49 minutes, 15 seconds ago
Posted by: Guest on May-28-2021

Browse Popular Code Answers by Language