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!! Quote Link to comment 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")); Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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.