0

I am working with php and right now i have following variable for "datetime" And i want to display data in "month/days/hours/minutes/seconds" ago in php,How can i do this ?

$date="2022-10-20 05:42:11";
Jolly
  • 55
  • 3
  • Please learn to do a bit of basic research, and do it before you come asking. "php display date as months weeks days hours ago" typed into Google was enough to find this duplicate right away. – CBroe Feb 08 '23 at 10:29

0 Answers0