Join Kevin Skoglund for an in-depth discussion in this video Daylight saving time (DST), part of Easy PHP Projects: Time Zone Conversion.
- [Voiceover] In this movie, we'll learn about…Daylight Saving Time and the effect it has…on determining the current time.…We can't really talk about time zones…without also learning about Daylight Saving Time.…Notice that it's Daylight Saving Time, not Savings Time.…There's no s after the g.…That's a common mistake that people make.…And it can be abbreviated as DST for short.…Daylight Saving Time is the period of time during which…clocks are moved forward temporarily.…It's really a consequence of the fact that…we no longer use apparent solar time.…
We stopped basing our days on when the sun rises and sets,…and instead switched to using a standard time.…But the sun rises and sets at different times…in different seasons.…In winter, much of the world gets around…nine hours of sunlight.…But in summer those same places…get a whopping 14 hours of sunlight.…That's a big difference.…Daylight Saving Time was proposed as a way…to shift the hours of these standard clock…to account for these changes in available daylight.…
- Understanding the history and purpose of time zones
- Setting a default time zone in PHP
- Using the PHP DateTime and DateTimeZone classes
- Working with daylight saving time transitions
- Allowing users to select their time zone
- Displaying times in the user's preferred time zone
- Calculating the current times of major cities
- Creating a complete time zone calculator
Skill Level Beginner
1. About Time Zones
2. Default Time Zone
3. Working with Time Zones in PHP
4. User Time Zone Selection
5. Respect the User's Time Zone
6. Current World Times
7. Time Zone Calculator
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.