robert_gsfame Posted June 22, 2010 Share Posted June 22, 2010 How can i check whether the date is in the past or still in the future and echo the result $string=strtotime("2009-05-08"); date("Y-m-d",$string) thx Link to comment https://forums.phpfreaks.com/topic/205505-determine-past-n-future-date/ Share on other sites More sharing options...
robert_gsfame Posted June 22, 2010 Author Share Posted June 22, 2010 $string=strtotime("Y-m-d",2009-05-08"); date("Y-m-d",$string) i thought i cant use less or more tag(<)(>)...solve! Link to comment https://forums.phpfreaks.com/topic/205505-determine-past-n-future-date/#findComment-1075389 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.