Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics PHP on the Web Date Function

Still messed up, I had the right answer but it kept saying I was wrong, merely because of one less space after the comma

this sucks

1 Answer

If you had one less space after the comma, then it would have shown "Today is July 04,2016" - which is not correct. In English, which the string is in, a space always follows a comma. So the correct answer is "Today is July 04, 2016". That's why it was returning incorrectly.

Jason Anders
Jason Anders
Treehouse Moderator 145,860 Points

Correct!

Proper spelling, punctuation, and grammar are critically important, both here and especially in real life!
If I land on a web page with errors, I usually just leave. If a designer (or client) can't take the time or care to do things properly, then I'm not the consumer for them.
I've been an editor for many years, trust me... it's all very important.

:dizzy: