date comparison

From: Date: Mon, 29 Apr 2002 20:29:14 +0000
Subject: date comparison
Groups: php.general 
Request: Send a blank email to php-general+get-95248@lists.php.net to get a copy of this message
I have a date string, let's call it 'date a' in the format "2020-10-16" which I want to compare to the UNIX_TIMESTAMP overflow limit ("2038-01-18"). Obviously I can't convert date 'a' to a timestamp because it may be too large. How can I make this comparision without converting it to a timestamp? Thanks, Rich

« previous php.general (#95248) next »