Date Handling in PHP

PHP date functions used to display the current date in mm/dd/yyyy, dd/mm/yyyy, and Monday September 1, YYYY are:

08/03/2021

03/08/2021

Tuesday August 3, 2021

 

PHP date and time functions that display in hh:mm 12 hr clock, hh:mm 24 hr clock, hh:mm:ss 12 hr clock, and hh:mm:ss 24 hr clock are:

07:39

07:39

07:39:49

07:39:49

 

The date 3 days from now is: Friday August 6, 2021

 

The date 7 days from now is: Tuesday August 10, 2021

 

The date 30 days from now is: Thursday September 2, 2021

 

The date 1 year from now is: Wednesday August 3, 2022