Question: Write a PHP script to display the following dates. Use the date function to display the current date and time. Add one month to this
Write a PHP script to display the following dates.
Use the date function to display the current date and time.
Add one month to this date and display.
Use the DateTime object to display the current date and time.
Add one year to this date and display.
Use your favorate function or object to display the current date in the following formats:
yyyy/mm/dd
mm/dd/yyyy hh:mi:ss am/pm
full day name, full month name day, year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
