note 123975 deleted from dateinterval.createfromdatestring by cmb

From: Date: Sat, 22 Jun 2019 14:10:13 +0000
Subject: note 123975 deleted from dateinterval.createfromdatestring by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211333@lists.php.net to get a copy of this message
Note Submitter: Haravikk ---- Actually Orlando, marcoczen is correct; the letter M is used to specify both months and minutes in an ISO-8601 duration. To clarify which is which, you must use T to indicate the start of the time segment of the duration. So P1M is one month, while PT1M is 1 minute, and P1MT1M is one month and one minute, etc. I just wanted to clarify that this was not a mistake by marcoczen, though I'm unsure what relevance the format listing is for this page, when it is not one of the supported formats for createFromDateString().

« previous php.notes (#211333) next »