ultrus Posted March 28, 2009 Share Posted March 28, 2009 Hello, I'm planning on making a WordPress plugin that allows for repeating events in a calendar-like list. It will order the events in when the next upcoming events are. To do this, I need to know what date the next "wednesday", "tuesday", or whatever is. Any thoughts on how I should get started? Thanks much for the advise!! Link to comment https://forums.phpfreaks.com/topic/151533-solved-get-the-date-of-the-next-upcoming-wednesday/ Share on other sites More sharing options...
taquitosensei Posted March 28, 2009 Share Posted March 28, 2009 date("Y-m-d H:i:s", strtotime("next Wednesday")); Link to comment https://forums.phpfreaks.com/topic/151533-solved-get-the-date-of-the-next-upcoming-wednesday/#findComment-795880 Share on other sites More sharing options...
redarrow Posted March 28, 2009 Share Posted March 28, 2009 taquitosensei can you kindly post links to new user's, as well as your examples,to learn the function, it helps everybody. here mate a link to strtotime. http://uk.php.net/strtotime Link to comment https://forums.phpfreaks.com/topic/151533-solved-get-the-date-of-the-next-upcoming-wednesday/#findComment-795883 Share on other sites More sharing options...
ultrus Posted March 28, 2009 Author Share Posted March 28, 2009 Oh cool! I've used strtotime(), but didn't know strtotime() was capable of that. Thanks for the tip. Link to comment https://forums.phpfreaks.com/topic/151533-solved-get-the-date-of-the-next-upcoming-wednesday/#findComment-795896 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.