Suppose you want to calculate the date 45 days from the present date which one of the following statement will you use?
(a) totime(“+45”)
(b) totime(“+45 days”)
(c) strtotime(“+45 days”)
(d) strtotime(“-45 days”)
This question was addressed to me in quiz.
This intriguing question comes from Date and Timestamp in section File and Session Handling in PHP of PHP