PHP PHP Basics PHP on the Web Date Function

Dhruv Chadha
Dhruv Chadha
2,179 Points

pls check my mistake

error msg showing

index.php
<?php
echo 'Today is ';
//Place your code below this comment
echo date("F "."d".',' ." Y");
?>

2 Answers

Although that presents the correct format the checker is looking for a single string format without concatenation.

Thom Benjamin
Thom Benjamin
10,494 Points

Seems to be a bug here. I used this and although it gives the right answer, it's still nog accepting it.

<?php
echo 'Today is ';
//Place your code below this comment

echo date("F d\, Y");
?>