note 102268 added to dateinterval.construct

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
It should be noted that this class will not calculate days/hours/minutes/seconds etc given a value in a single denomination of time.  For example:

<?php
	$di = new DateInterval('PT3600S');
	echo $di->format('%H:%i:%s');
	
?>

will yield 0:0:3600 instead of the expected 1:0:0
----
Server IP: 216.235.13.26
Probable Submitter: 64.180.62.209
----
Manual Page -- http://www.php.net/manual/en/dateinterval.construct.php
Edit        -- https://master.php.net/note/edit/102268
Del: integrated  -- https://master.php.net/note/delete/102268/integrated
Del: useless     -- https://master.php.net/note/delete/102268/useless
Del: bad code    -- https://master.php.net/note/delete/102268/bad+code
Del: spam        -- https://master.php.net/note/delete/102268/spam
Del: non-english -- https://master.php.net/note/delete/102268/non-english
Del: in docs     -- https://master.php.net/note/delete/102268/in+docs
Del: other reasons-- https://master.php.net/note/delete/102268
Reject      -- https://master.php.net/note/reject/102268
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.