Re: days between two timestamps

From: Date: Wed, 05 Jun 2002 15:09:43 +0000
Subject: Re: days between two timestamps
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100721@lists.php.net to get a copy of this message
On Wednesday 05 June 2002 23:01, Tyler Longren wrote: > Hi, > > I have two different timestamps: > 20020603164114 > and > 20020605054710 > > Is there a simple way to get the number of days between the two dates? These look like mysql timestamps. If you're getting them from mysql, you might try and do your date calculations there -- mysql has a rich range of functions for date manipulation/calculation. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Dyslexics have more fnu. */

« previous php.general (#100721) next »