I am using $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.
I have tried string($date); but nothing happens here. And
$today = strtotime($date); here I get weird numbers..
I need a string so I can put $today in a message.
What is the correct method for this?
date()function returnsstringwhat are you looking for please elaborate? It is already a string