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
If you like working with objects you can do this:
$date = new \DateTime('now'); echo $date->format('D M d, Y G:i');