Re: Date difference

From: Date: Sat, 31 Mar 2001 18:04:28 +0000
Subject: Re: Date difference
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46452@lists.php.net to get a copy of this message
On Sat, 31 Mar 2001 20:07:10 +0600, (ravi@nls.ac.in) wrote: >Dear Friends, > >I am accessing a MySQL database through PHP. > >I have to calculate the difference between todays date and the date >obtained >from MySQL database. select to_days(curdate())-to_days(datefield) from table; - Mark

« previous php.general (#46452) next »