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? 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 } Link to comment https://forums.phpfreaks.com/topic/67313-solved-php-date/#findComment-337716 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.