note 117472 added to function.date-sub

From: Date: Mon, 15 Jun 2015 08:55:16 +0000
Subject: note 117472 added to function.date-sub
Groups: php.notes 
Request: Send a blank email to php-notes+get-202867@lists.php.net to get a copy of this message
It can be unclear for someone how to use this function. Here is the example: $date=date_create("2013-03-15"); date_sub($date,date_interval_create_from_date_string("40 days")); echo date_format($date,"Y-m-d"); ---- Server IP: 72.52.91.14 Probable Submitter: 86.57.158.38 ---- Manual Page -- http://php.net/manual/en/function.date-sub.php Edit -- https://master.php.net/note/edit/117472 Del: integrated -- https://master.php.net/note/delete/117472/integrated Del: useless -- https://master.php.net/note/delete/117472/useless Del: bad code -- https://master.php.net/note/delete/117472/bad+code Del: spam -- https://master.php.net/note/delete/117472/spam Del: non-english -- https://master.php.net/note/delete/117472/non-english Del: in docs -- https://master.php.net/note/delete/117472/in+docs Del: other reasons-- https://master.php.net/note/delete/117472 Reject -- https://master.php.net/note/reject/117472 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202867) next »