PHP
Date and TimePHP - Date and Time
Date and Time
Using Text Within date()
Automatically Localizing Dates
Manually Localizing Dates
Using the Current Date the U.S./U.K./European Way
Formatting a Specific Date
Validating a Date
Calculating a Relative Date
Creating a Sortable Time Stamp
Converting a String into a Date
Determining Sunrise and Sunset
Using Date and Time for Benchmarks
Using Form Fields for Date Selection
Create Self-updating Form Fields for Date Selection
Calculating the Difference Between Two Dates
Using GMT Date/Time Information
Web Forms
Most of the time, the date and time functionalities of PHP 5 are used for printing out the current date and time to pretend that the web page is up to date (you would be surprised how many larger websites actually use this). But apart from that, working with date and time in PHP offers many other possibilities, most of which you will find in this tutorial.