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,
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-wri
"Johny Burns" <[EMAIL PROTECTED]> writes:
> I am having fields in my table where I put times like 4:30pm in string
> format
Check this:
http://dev.mysql.com/doc/refman/5.0/en/date-and-time-types.html
Perhaps you could use a data type date for that.
> Can anybody help with function which hel
On Feb 17, 2008 12:53 AM, Johny Burns <[EMAIL PROTECTED]> wrote:
> I am having fields in my table where I put times like 4:30pm in string
> format
>
> Can anybody help with function which helps detect.
> Is it the current time between those fields?
>
> function checkinzone($time1,$time2):boolean
4 matches
Mail list logo