PHP Date Manipulations

Posted by Ajith on Stack Overflow See other posts from Stack Overflow or by Ajith
Published on 2010-06-01T10:56:57Z Indexed on 2010/06/01 11:03 UTC
Read the original article Hit count: 271

Filed under:
|

I need to get previous 30 days from a specific date which is available from database(eg: 2010-05-23 12:36:29).I am try it by using

date('d', strtotime("-30 days"))

Which is getting the currect answer what i looking for but it is not help me to enter date from database.Please help me to solve the issue.

© Stack Overflow or respective owner

Related posts about php

Related posts about datetime