Re: Date query

From: Date: Sun, 20 Apr 2003 18:07:56 +0000
Subject: Re: Date query
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-144560@lists.php.net to get a copy of this message
"Don Read" <dread@texas.net> wrote in message news:XFMail.20030420120644.dread@texas.net... > > On 20-Apr-2003 shaun wrote: > > Hi, > > > > I have two columns in my table in date format: Booking_Start_Date and > > Booking_End_Date. > > > > How can i find out how many days (if any) are betweent these tow dates? > > > > MySQL ? TO_DAYS() > > Regards, > -- > Don Read dread@texas.net > -- It's always darkest before the dawn. So if you are going to > steal the neighbor's newspaper, that's the time to do it. sorry I should have explained this more clearly, I have retrieved the values so I have two variables $booking_start_date and $booking_end_date, how can i find out how many days (if any) are betweent these two dates? Thank you for your replies.

« previous php.general (#144560) next »