Join Kevin Skoglund for an in-depth discussion in this video Challenge: Create a maintenance page, part of Easy PHP Projects: Time Zone Conversion.
- [Voiceover] In the previous movie,…we displayed the current time…using the user's time zone preferences.…Any time that we want to display on our website…can be time zone sensitive.…In this movie, your challenge is to…create a down for maintenance page…which tells the start and end times…of the maintenance window using time zone sensitivity.…We're gonna put this inside that…time zone sensitivity directory that already we have…in a new page called maintenance.php,…and you should include text that says something like…Notice of Upcoming Maintenance Window.…
This website will be offline for routine maintenance…from blank to blank.…And in those blanks, we're gonna put the time…when the maintenance window is going to start and stop.…It's very important that that be time zone sensitive…because we don't want users having to convert…from another time zone into their time zone.…We want it to be easy for them to know…when the website's going to be offline.…The times that you're gonna use,…the start time is gonna be December 20th…
- 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.