Very convenient function strtotime
Example:$newdate = strtotime('-3 week', strtotime($date));
Recently, there was a desire to torment her.
I want to know whether it is possible to implement something like that?
Example:$newdate = strtotime('-3 day', '-3 week', '-3 month', '-3 year', strtotime($date));
|