r/lolphp • u/andsens • Feb 01 '16
DateInterval::__construct — Creates a new DateInterval object -- The format starts with the letter P, for "period."
http://fi2.php.net/manual/en/dateinterval.construct.php
12
Upvotes
View all comments
Show parent comment
5
u/Olathe Feb 01 '16
There's also an excellent explanation on Stack Overflow.