Simple play icon Course
Skills

Working with Date and Time in PHP

by Annapurna Siddhartha

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.

What you'll learn

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.

About the author

Annapurna is a full stack developer, who has now been playing around with Kotlin, PHP, jQuery, CSS, and HTML. She is a software engineer from India and likes teaching and has years of experience in web and mobile development. She is one of the trainers in the Google Developers Group at Bhubaneswar, Odisha in India and also the lead of the Google WomenTechMaker Group Bhubaneswar. Besides all this, she practices yoga and meditation, YouTubing, and hanging out with friends. You are definitely going... more

Ready to upskill? Get started