ATLChris Posted March 9, 2009 Share Posted March 9, 2009 I wanted to know how I could check to see if a date actually appears in future years. For instance, I have a script that emails people in 1, 2, 3 years. If the script is set to email them on February, 29th 2009. How could I have php check and see if there is a Feb 29th in 2009, and if not then change it to the next available date? Thanks in advanced. I am a moderate to advanced user so feel free to be technical. Link to comment https://forums.phpfreaks.com/topic/148549-solved-check-if-a-date-exist-in-a-certain-year/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 9, 2009 Share Posted March 9, 2009 http://us.php.net/checkdate Link to comment https://forums.phpfreaks.com/topic/148549-solved-check-if-a-date-exist-in-a-certain-year/#findComment-780069 Share on other sites More sharing options...
ATLChris Posted March 9, 2009 Author Share Posted March 9, 2009 Awesome, thanks! I would have never guessed it was that easy. Link to comment https://forums.phpfreaks.com/topic/148549-solved-check-if-a-date-exist-in-a-certain-year/#findComment-780073 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.