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

General Discussion

Debalina Dhar
Debalina Dhar
2,223 Points

Why the STRFTIME query is not working in SQL Playground

Why this query with STRFTIME is not working in SQL Playground and in the quiz.

select title , STRFTIME("%m/%y",date_released) AS month_year_released from movies;

title month_year_released Alien
Aliens
Moulin Rouge
Guys and Dolls
Mama Mia
Starman Tron
Die Hard

2 Answers

Umesh Ravji
Umesh Ravji
42,386 Points

Hi Debalina, you need a uppercase Y

Debalina Dhar
Debalina Dhar
2,223 Points

Thanks !! Its working with your suggestion. Very strange why the syntax is capital Y. Rest of the format is all lower case.