Werbung
DateInterval::createFromDateString
(PHP 5 >= 5.3.0)
DateInterval::createFromDateString — Sets up a DateInterval from the relative parts of the string
Beschreibung
Uses the normal date parsers and sets up a DateInterval from the relative parts of the parsed string.
Parameter-Liste
- time
-
Date with relative parts.
Rückgabewerte
Returns new DateInterval instance if success.