I am beginner in php.
I have this code in php 8.1:
$date = date('Y-m-d', strtotime('-30 days'));
echo $date;
It’s work fine, but i need date 6 years and 30 days ago. How can i check it?
I need date calculate from now
Please help me.
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I am beginner in php.
I have this code in php 8.1:
$date = date('Y-m-d', strtotime('-30 days'));
echo $date;
It’s work fine, but i need date 6 years and 30 days ago. How can i check it?
I need date calculate from now
Please help me.