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 trialRobert Krsnik
2,949 PointsOk so.... where did you learn about the date function? Im looking at the paramater values elsewhere so i can learn this.
Anyway....from the video of using the PHP code in HTML i went on straight to the ''let PHP do all the work'' video....and was looking at the screen like a total noob and started to wonder what did i miss.... We didnt go through the paramater values at all.... When Alena started the talk about ''the date function that we used in a daily exercise program'' .... i had no idea what she was talking about, started looking when i listened to it or did it...and i saw it wasnt there. So in order to complete the challenge ''date function'' i have go on google to find out how to use paramaters to get the results i need. Is there something i missed? a video that was suppose to be there but isnt? I mean i dont mind searching but it's a gap i think you should look into. Sorry for the long message but had to say it :).
2 Answers
Unsubscribed User
Front End Web Development Techdegree Student 33,900 PointsHi Robert,
the fact that you have to look it up is done on purpose here (as far as I remember it is even explained like that) - so you get used to look these kind of details up...
Because that is what you will be doing A LOT when you program. You do not really want to memorize all these details about the date function. When you need them you look it up. The only thing worth remembering is that a date function exists...
In my humble opinion treehouse courses actually should do these kind of exercises (where you have to look up things for yourself) far more often - because this is a really really important skill.
Makes sense?
Happy coding! Nils
Nikos Papapetrou
6,305 PointsI think there is a note in teachers that guide you in: https://www.php.net/manual/en/function.date.php. Here you can find plenty of information about the date dunction.
Robert Krsnik
2,949 PointsRobert Krsnik
2,949 PointsYeah it does make sense. Im totally new to programming and im still abit lost but yeah i get what you're saying. It makes alot of sense :). Thank you very much for the comment Nils! :)