Sylvain Fabretech.assoconnect.comยทAug 3, 2023Our PHP TimeTraveler to address DateTime::modify() pitfallsEverybody knows the PHP native method DateTime::modify() The DateTime extension supports awesome modifiers like "2 days ago", "last day of this month", ... or basic ones like "+1 month". But the last one is actually tricky: it increments the month va...28 readsdatetimeAdd a thoughtful commentNo comments yetBe the first to start the conversation.