Re: comparing time

From: Date: Wed, 24 Apr 2002 09:32:25 +0000
Subject: Re: comparing time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94337@lists.php.net to get a copy of this message
At 24.04.2002 11:05, you wrote:
Hello, How can I compare time? So I have to check a difference of 12 or 24 hours this mean I have to compare the time between the days too.. How I can make this comparing just comparing hour with hou and then minute with minute or is possible all of them at the same time? use mktime() to convert your dates in Unix-imestamps, then you can do whatever you like
to make them "human" readable used date(). Oliver

« previous php.general (#94337) next »