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
You're already getting a string. $date can be used like any string now.
strtotime() actually gives you the number of seconds in time like unix
strtotime()