Categories
how to subtract days from date php?
there is such a thing in it 2019-05-30 how to get 2019-05-25 for example? $thisDate = date('Y-m-d')
$thisDate = date('Y-m-d')
Answer the question
In order to leave comments, you need to log in
date('Y-m-d', strtotime($thisDate. " - 5 day"));
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question