<?php $yesterday = date('Y-m-d', strtotime("-1d")); $test = date('Y-m-d', "2018-06-28 16:03:34"); echo $test; $test2 = date('Y-m-d', strtotime("-4 days")); echo $test2;
You have javascript disabled. You will not be able to edit any code.