HTML    CSS    PHP    Bootstrap    JavaScript    Dev Tools      

Working with the Date Function in PHP - Part 1

Current Time  00:00 Total Time  00:00

We are always looking for input on our tutorial content. If you have a suggestion, comment, additional information on this topic that you feel should be added, drop us a line. We appreciate your input.

Title: Working with the Date Function in PHP - Part 1 Category: PHP

Topic: Essential Training Publish Date: 2016-11-05

Views: 654

Author: Mike King


In this tutorial we look at 5 ways that we can use the built in functions in PHP to format a date. This is part 1 of a 2 part series and in this tutorial we demonstrate the following, getting the current time and formatting it, formatting a date, converting minutes to hour and minutes, getting the difference between two times and checking if a date is in the past or the future.