Re: Check time in between times

From: Date: Mon, 18 Feb 2008 17:49:50 +0000
Subject: Re: Check time in between times
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-269509@lists.php.net to get a copy of this message
Richard Lynch wrote: > On Sat, February 16, 2008 11:53 pm, Johny Burns wrote: > >> I am having fields in my table where I put times like 4:30pm in string >> format >> > > This is your first mistake... > > Use time fields for time, so you can do time operations on time fields. > > Otherwise, you are just re-inventing the wheel and re-writing a > billion lines of code that the database geeks already wrote, tested, > and QA-ed. > > Once you fix this, your question becomes a non-question... > > I am going to reinvent the wheel to a square, just in case they got it wrong. [= -- ================== Nick Stinemates (nick@stinemates.org) http://nick.stinemates.org AIM: Nick Stinemates MSN: nickstinemates@hotmail.com Yahoo: nickstinemates@yahoo.com ==================

« previous php.general (#269509) next »