Working with dates in PHP is one of those things that you either have a good handle on, you’re working on understanding, or you’re stuck in the rabbit hole of the documentation that’s in the manual.
If you’re working with WordPress, though, the chance that you’re going to need to work with dates is quite high.
Read Full Tutorial