One of the things most developers face is dealing with time calculations and logging. In this lesson we play around with the DateTime class and see how useful it can be.
We have already seen how we can use the DateTime class in PHP. In this challenge you need to check the time of day and then present an appropriate message.
In this short lesson we look at how to create a Bootstrap styled form allowing the user to enter two dates. We then calculate the time difference between the two dates.