Working with Date and Time in PHP
Offered By: Pluralsight
Course Description
Overview
Date and time are so basic, that we often forget its complexity. Look into the functions and classes in PHP, to deal with all the different date and time formats used across the globe. See how PHP handles timezone and daylight savings.
Date and time are so basic, that we often forget its complexity. These are found everywhere, in all applications, be it the timestamp columns in the database, or logging data into the log files. The date format varies in different places. In this course, Working with Date and Time in PHP, you will familiarize yourself with foundational knowledge and gain the ability to use classes and functions to work with time and date. First, you will learn functions to work with time and date, which would be valid for everyone across any timezone. Next, you will discover how to deal with daylight saving. Finally, you will explore how to use dates when it comes to using MySQL with PHP. When you’re finished with this course, you will have the skills and knowledge to know how PHP handles the timezones and daylight saving, making the task even easier.
Date and time are so basic, that we often forget its complexity. These are found everywhere, in all applications, be it the timestamp columns in the database, or logging data into the log files. The date format varies in different places. In this course, Working with Date and Time in PHP, you will familiarize yourself with foundational knowledge and gain the ability to use classes and functions to work with time and date. First, you will learn functions to work with time and date, which would be valid for everyone across any timezone. Next, you will discover how to deal with daylight saving. Finally, you will explore how to use dates when it comes to using MySQL with PHP. When you’re finished with this course, you will have the skills and knowledge to know how PHP handles the timezones and daylight saving, making the task even easier.
Syllabus
- Course Overview 2mins
- Getting Started with Date and Time in PHP 10mins
- Getting Familiar with Basic Date and Time Functions in PHP 17mins
- Understanding DateTime Class in PHP 28mins
- Using TimeZones in PHP 34mins
- Working with DateInterval and DatePeriod Class 26mins
- Dealing with Database for Dates 17mins
Taught by
Annapurna Agrawal
Related Courses
Managing Big Data with MySQLDuke University via Coursera Database Management Essentials
University of Colorado System via Coursera Business Metrics for Data-Driven Companies
Duke University via Coursera Bases de données relationnelles : Comprendre pour maîtriser
Inria (French Institute for Research in Computer Science and Automation) via France Université Numerique Базы данных (Databases)
Saint Petersburg State University via Coursera