Re: [PHP] comparing time (related question)

2002-04-24 Thread Erik Price
On Wednesday, April 24, 2002, at 11:37 AM, Jackson Miller wrote: > When storing dates and times in databases is it better to store them as > UNIX timestamps or in one of the SQL date/time types? > > I am working on an application that takes school attendance and has > homework assignments, so I

RE: [PHP] comparing time (related question)

2002-04-24 Thread Maxim Maletsky \(PHPBeginner.com\)
--Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 6:20 PM To: Jackson Miller Cc: [EMAIL PROTECTED] Subject: Re: [PHP] comparing time (related question) On 24 Apr 2002, Jackson Miller wrote: > When storing dates and times in databases is it be

Re: [PHP] comparing time (related question)

2002-04-24 Thread Miguel Cruz
On 24 Apr 2002, Jackson Miller wrote: > When storing dates and times in databases is it better to store them as > UNIX timestamps or in one of the SQL date/time types? > > I am working on an application that takes school attendance and has > homework assignments, so I am doing a fair amount of da

[PHP] comparing time (related question)

2002-04-24 Thread Jackson Miller
When storing dates and times in databases is it better to store them as UNIX timestamps or in one of the SQL date/time types? I am working on an application that takes school attendance and has homework assignments, so I am doing a fair amount of date work. Currently I am storing everything as d

Re: [PHP] comparing time

2002-04-24 Thread Miguel Cruz
On Wed, 24 Apr 2002, Cosmin wrote: > How can I compare time? So I have to check a difference of 12 or 24 hours > this mean I have to compare the time between the days too.. > > How I can make this comparing > just comparing hour with hou and then minute with minute or is possible > all of them at

Re: [PHP] comparing time

2002-04-24 Thread heinisch
At 24.04.2002 11:05, you wrote: >Hello, > >How can I compare time? So I have to check a difference of 12 or 24 hours >this mean I have to compare the time between the days too.. > >How I can make this comparing >just comparing hour with hou and then minute with minute or is possible >all of them

[PHP] comparing time

2002-04-24 Thread Cosmin
Hello, How can I compare time? So I have to check a difference of 12 or 24 hours this mean I have to compare the time between the days too.. How I can make this comparing just comparing hour with hou and then minute with minute or is possible all of them at the same time? Thanks Cosmin --