Introduction to functions
-
time()
-
date()
-
mktime()
-
strtotime()
-
date_default_timezone_set()
-
Time and date formats
-
Long date language
-
Actions with dates
-
date validation
Tasks
-
Date and time display in the format 03/20/2023 17:31
-
Find out how old or how old the user will be this year
-
How many days are left until the end of this school year?
For example: there are 64 days left until the end of the 2022 academic year!
-
Print the picture for the season (spring, summer, autumn, winter)
-
Find the number of whole hours that have passed from 7:23:48 AM of the current day to the present.
-
Make an input field where the user enters the year (4 digits), and the script determines whether it is a leap year.