In a recent question, someone asked if they could make a time just using the hour, minute, and AM/PM parts of a standard time format. This led to my question, what is needed to create a time using strtotime?
- Do you need to have a date? If one is not provided, what date does it choose?
- Do you need to have a time? What is the default?
- Do you need to have a year? Default?
- Month? Default?
- Day? Default?
I guess this is more of, what are the defaults for strtotime, but I'm curious to know.