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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Karlijn Willems](https://secure.gravatar.com/avatar/05678f3aaa5d34869ac1c95b988fc6ab?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Karlijn Willems
9,961 PointsI can't seem to figure this one out... where do I put the DATE() function?
I tried several columns as a parameter in de COUNT() function and tried a few different formats of the status... Could anyone please help me further here on how I have to tell the database I want the count of the orders that are shipped today?
2 Answers
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsYou forgot to provide a link to the course page, but just from memory I seem to recall that one of the fields was
something like "ordered_on", which you would compare with today's date in the WHERE
clause. And you would also need to check that the "status" was "shipped".
![Karlijn Willems](https://secure.gravatar.com/avatar/05678f3aaa5d34869ac1c95b988fc6ab?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Karlijn Willems
9,961 PointsThank you for your respond. It work this way... I thought it was looking for the status dat it was shipped today, so not ordered_on today... anyways, thnx! :)
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,688 PointsThat was my first thought too, but the it wasn't part of the data. The instructions could possibly be re-worded to be a bit more clear.