RE: [PHP] Date/Time...
| From: | John Holmes | Date: | Thu, 23 May 2002 12:18:29 +0000 |
| Subject: | RE: [PHP] Date/Time... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98900@lists.php.net to get a copy of this message | ||
What are you trying to do? Compare dates from where to what? To the
current time, to times in a database???
strtotime() and UNIX_TIMESTAMP() are probably going to be part of your
solution, but I don't know what your doing.
---John Holmes...
> -----Original Message-----
> From: Brian McGarvie [mailto:bmcgarvie@lennox-mckinlay.co.uk]
> Sent: Thursday, May 23, 2002 7:22 AM
> To: php-general@lists.php.net
> Subject: [PHP] Date/Time...
>
> OK, give up.. been trying to compare dates in the format;
>
> 2002-05-23 12:19:34
>
> I just cant workout how to compare, I've converted to a timestamp -
but
> the resulting timestamp was wrong.
>
> Any help much appreciated...
>
> TIA...
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php