Can you explain below line? pls give some example.
strtotime(SQLDATE." +1 month")
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simply put you are just adding 1 month to the value of the date in SQLDATE. So in your example, the value that strtotime will return is 1 month after 2011-10-28 which is 2011-11-28.
Strtotime returns the number of seconds since the epoch. The return values of strtotime will make more sense if you format it: