MP4 | Video: h264, 1280x720 | Audio: AAC, 48 KHz, 2 Ch | Duration: 4H 31M | 547 MBGenre: eLearning | Language: EnglishNeed to calculate the date of the third Thursday of each month or the Friday after next? PHP—and David Powers—have you covered.
David shows how to use the intricate and sometimes underused capabilities of PHP's date and time functions, including the basic date/time formatting functions in PHP 4 and the more advanced functions introduced in PHP 5.
For example, you can learn how to find and set time zones, perform date calculations that incorporate different time zones and daylight savings, and calculate the time of sunrises and sunsets.
Start watching and learn how to incorporate these powerful functions into your programming arsenal.
Topics include:How PHP handles dates and timeSetting the default time zoneDisplaying current date and timeGetting a timestamp from textUsing the DateTime classGetting and modifying a timestamp from DateTimeComparing DateTime objectsWorking with time zonesUsing DateInterval and DatePeriodFinding ISO week datesCalculating sunrise and sunset
发布日期: 2018-11-04