PHP PHP Basics PHP on the Web Date Function

As a developer, you'll spend a lot of time in the documentation. For this code challenge, you'll need to check out the d

I can not find an error. They said "Bummer: You have not passed the correct string for formatting."

rydavim
rydavim
Treehouse Moderator 17,113 Points

You’ll need to post your code so we can take a look at what might be going wrong. You can get some fancy formatting by using some special markdown.

```language

YOUR CODE HERE

```

I'm sorry about that. This is my code.

<?php

echo 'Today is ';

//Place your code below this comment

echo date('F d, Y');

?>

Thank you.

1 Answer

rydavim
MOD
rydavim
Treehouse Moderator 17,113 Points

Huh, that's odd. Your code works as expected for me. Are you getting a particular error message?

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

Just copy-pasting your code into the challenge immediately passed it for me, and I don't see anything wrong with it. I would try it again just to see if something was just a bit glitchy. If you're still having trouble though, let me know and we can try to troubleshoot or escalate the issue.

Nice work, though - and happy coding!

Thank you for your help.

I tired it but still there is " Bummer: You have not passed the correct string for formatting. "

Thank you anyway.