Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,619 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: