PHP PHP Basics PHP on the Web Date Function

My code preview shows I am echoing the desired format, yet I get error.

Could this be a bug?

echo 'Today is ';
//Place your code below this comment
echo date('F d\, Y');

1 Answer

Steven Parker
Steven Parker
186,994 Points

It looks like there is a stray backslash ("\") between the "d" in the format and the comma.

You are right; thanks Steven!