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"))); 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 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
Archived
This topic is now archived and is closed to further replies.