karldesign Posted August 30, 2007 Share Posted August 30, 2007 Hi, I return a date from a databse and want to check if the date has been added (ie: not 0000-00-00, which most are). Whats the best way to check if the date is not this? Quote Link to comment https://forums.phpfreaks.com/topic/67313-solved-php-date/ Share on other sites More sharing options...
Jessica Posted August 30, 2007 Share Posted August 30, 2007 if($date != '0000-00-00'){ //Added } Quote Link to comment https://forums.phpfreaks.com/topic/67313-solved-php-date/#findComment-337716 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.