I have a variable and I’m trying to assign a formatted date to it … like now() but formatted, so I’m trying this:
$mydate = date("F j, Y, g:i a");
My problem is that $mydate seems to be empty. I need it to return the Now() date time.
What I’m I missing?
Works fine 😀
ouput: