PHP keeps making my date 1969?
-
$lastdate = date("Y-m-d", strtotime(date("Y-m-d")." +10 month")); im trying to get 10 months after today but it keeps giving me 1969
-
Answer:
$lastdate = date("Y-m-d", strtotime("+10 month"));
BigD at Yahoo! Answers Visit the source
Related Q & A:
- How to Convert Json date string to more readable date format?Best solution by SharePoint
- How to store global date time and convert it to local date time?Best solution by Stack Overflow
- How to store data in php and get data from php?Best solution by Stack Overflow
- How to convert a GMT timestamp to proper Date in PHP?Best solution by stackoverflow.com
- Do consumers do more research before making an expensive purchase than before making a cheaper purchase?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.