bitkuri Posted August 17, 2007 Share Posted August 17, 2007 do any one know the logic on how to display month, that is after month last date i want to display next month, suppose after august 31 i want to display September month like that i want to display for all months.. Link to comment https://forums.phpfreaks.com/topic/65382-please-help-me/ Share on other sites More sharing options...
gurroa Posted August 17, 2007 Share Posted August 17, 2007 echo Date("F", strtotime("+1 month", strtotime(Date("Y-m-01")) )); Link to comment https://forums.phpfreaks.com/topic/65382-please-help-me/#findComment-326508 Share on other sites More sharing options...
bitkuri Posted August 17, 2007 Author Share Posted August 17, 2007 Thanks for the reply actually I want to keep that in condition for example, that is, In months we don't have exact date end I mean in some months we will have 30 days or 31 days and in feb we will have 29 days I need logic for that.... Link to comment https://forums.phpfreaks.com/topic/65382-please-help-me/#findComment-326557 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.