The previous article tells you how to use loops and how to make decisions in PHP.
Next
The next screen gives you a tutorial on how to use the date function in PHP.
This tutorial tells you how to retrieve dates and times, including the current date and time.