Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $interval = date_diff(new \DateTime(), new \DateTime($line['Напомнить']));
- if($interval->d == 1) {
- $line['Напомнить'] = (new \DateTime())->modify('+ 3 day')->format('Y-m-d');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement