I am using $date = date(\"D M d, Y G:i\");.
$date = date(\"D M d, Y G:i\");
When I echo $date, it shows the correct date/time. Now I need this as an string.
$date
I have tr
With regards to:
$today = strtotime($date);
Those numbers are the current timestamp (the number of seconds since January 1st 1970). You can use this as a second parameter in the date function to change the date to whatever you want.
$newDate = date("D M d, Y G:i", $timeStamp);