note 86184 added to function.date

adityabhai
Newsgroups php.notes
Message-ID <[email protected]>
Aditya Bhatt (adityabhai [at] gmail [dot] com):

I have one date, and i want the next day of that date:

<?php

echo date("D F d Y",strtotime("+1 days")); // Same applies for months e.g. "+1 months"

?>

I have one date, and i want the previous day of that date:

<?php

echo date("D F d Y",strtotime("-1 days")); // Same applies for months e.g. "-1 months"

?>
----
Server IP: 59.162.86.33
Probable Submitter: 59.162.251.99
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit        -- https://master.php.net/note/edit/86184
Del: integrated  -- https://master.php.net/note/delete/86184/integrated
Del: useless     -- https://master.php.net/note/delete/86184/useless
Del: bad code    -- https://master.php.net/note/delete/86184/bad+code
Del: spam        -- https://master.php.net/note/delete/86184/spam
Del: non-english -- https://master.php.net/note/delete/86184/non-english
Del: in docs     -- https://master.php.net/note/delete/86184/in+docs
Del: other reasons-- https://master.php.net/note/delete/86184
Reject      -- https://master.php.net/note/reject/86184
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.