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. Quote 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? Quote 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')); Quote Link to comment https://forums.phpfreaks.com/topic/109181-echo-last-month/#findComment-560057 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.