I need to retrieve the 15th day of the next month with using a single strtotime call only with a single literal string argument.
I tried the following argument values:
- strtotime("15th of next month")
- strtotime("first day of next month + 14 day")
- strtotime("15 day of next month")
But nothing gives me expected result. Is this doable at all?
UPD. The solutions which make calls to other functions inside strtotime()
are not what I'm looking for. The issue is that I need the string function to be non-composed as a result of other calculations, but rather a string literal. That's the main way my question is different to the others that may look similar at first glance.