forumnz Posted June 7, 2008 Share Posted June 7, 2008 How do I get last month (May), to display? I tried date(F-1), but that didn't work. Thanks, Sam. Link to comment https://forums.phpfreaks.com/topic/109181-echo-last-month/ Share on other sites More sharing options...
GingerRobot Posted June 7, 2008 Share Posted June 7, 2008 And you needed to create a new topic rather than adding this to your old one because? Link to comment https://forums.phpfreaks.com/topic/109181-echo-last-month/#findComment-560056 Share on other sites More sharing options...
Daniel0 Posted June 7, 2008 Share Posted June 7, 2008 date('F', strtotime('-1 month')); Link to comment https://forums.phpfreaks.com/topic/109181-echo-last-month/#findComment-560057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.