jakebur01 Posted March 31, 2010 Share Posted March 31, 2010 when i try to do -2, -3, -4 and so on... it works but if i just try -1 it shows the current month echo date('m', mktime(0, 0, 0, date("m")-1, date("d"), date("Y"))); Quote Link to comment https://forums.phpfreaks.com/topic/197067-time-not-subtracting-one-month/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 31, 2010 Share Posted March 31, 2010 http://www.phpfreaks.com/forums/index.php/topic,292878.msg1386240.html#msg1386240 Quote Link to comment https://forums.phpfreaks.com/topic/197067-time-not-subtracting-one-month/#findComment-1034481 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.