In PHP date function for before 2 months -
i need date functions. how find before 2 months date (using date() function) particular date or current date.
use this
echo date("y/m/d",strtotime("-2 months"));
http://codepad.viper-7.com/z1his7
example
2013/feb/20
Comments
Post a Comment