gcpeters Posted March 1, 2007 Share Posted March 1, 2007 Hello, I am new to the board, seems like a very nice web site. I tried to find some posting rules but was unable to, so if I am violating any I apologize. I have an interesting conundrum. I am working on an application that will list events (b-day parties, concerts, what not). After I have pulled the events out of the DB I need to determine the next time the event will occur. One time events are a no brainer, but the other events are reoccurring. They will either repeat at regular weekly intervals or they will occur semiweekly, say the 1st Wednesday of the month or the 1st and the 3rd or any combo like that. So I think I can determine from the start date and the time elapsed what the next occurrence is. I tried a sort of PHP/JavaScript hybrid solution, but it is not working and would rather solve this with PHP alone. Does anyone have any insight into this type of problem? I have looked at some tutorials on date manipulation, but haven't realy found anything on this type of thing. Thanks Link to comment https://forums.phpfreaks.com/topic/40645-solved-i-have-a-questionj-about-dates/ Share on other sites More sharing options...
gcpeters Posted March 1, 2007 Author Share Posted March 1, 2007 I'm a moron, now I see the posting rules! Link to comment https://forums.phpfreaks.com/topic/40645-solved-i-have-a-questionj-about-dates/#findComment-196599 Share on other sites More sharing options...
gcpeters Posted March 1, 2007 Author Share Posted March 1, 2007 I found something that helped me. Link to comment https://forums.phpfreaks.com/topic/40645-solved-i-have-a-questionj-about-dates/#findComment-196628 Share on other sites More sharing options...
boo_lolly Posted March 1, 2007 Share Posted March 1, 2007 i couldn't let this guy's first three posts go un-replied, haha. do you mind posting and explaining what you found? Link to comment https://forums.phpfreaks.com/topic/40645-solved-i-have-a-questionj-about-dates/#findComment-196730 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.