PHP Date Handling

Homework

1. Create a date object with the date of July 1, 2014. Display the results in m/d/yyyy format.

04,01,2014

2. Create a date object with the current date, including time zone. Display the results in m/d/yyyy format.

04,26,2024

3. Find and display the difference in days between the current date and the date you created in part 1.

+3679 days

4. Find and display how many hours have passed between the current date and the date object you created in part 1.


Notice: A non well formed numeric value encountered in /home/www/examples.williamthomason.info/intro_php/homework/datehandlinghomework.php on line 40
88296