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

PHP Build a Simple PHP Application Working With Functions Displaying Only Four Shirts

Mark VonGyer
Mark VonGyer
21,239 Points

How did he know?!

At the end of the video he says let's get some lunch..

How did he know it was midday here?!

Could there be a program altering the videos based on the current time?

2 Answers

Felipe Alarcon
Felipe Alarcon
2,930 Points

it's actually possible but they would have to create 3 videos, breakfast, lunch and dinner then take the current time depending on your location and serve the video that suits your time better.

geoffrey
geoffrey
28,736 Points

If that was the case, that would be pretty cool, but unfortunately I guess you eventually watched the video at the right time lol.