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

Databases

It says I have the arguments the other way around

Don't understand what is wrong with my code...

SELECT title, STFRTIME("%m/%y",order_released) AS .... FROM....

It says I have the arguments the other way around...

Anjali Pasupathy
Anjali Pasupathy
28,883 Points

Could you post a link to the video or challenge to which this question pertains? Normally there are tags that indicate this, but there aren't any in this case. Seeing the context in which you're asking your question would be very helpful to those who wish to answer it.

1 Answer

Steven Parker
Steven Parker
229,608 Points

It looks like the function name, not the arguments, is the "other way around".

:point_right: I think the function you want is STRFTIME (not STFRTIME).

Otherwise, maybe they wanted the formatted date before the title? What did the challenge ask for?