[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to compare 2 dates - NOW WITH TIME
- From: Javier Guerra <javier@...>
- Date: Thu, 7 May 2009 11:23:39 -0500
On Thu, May 7, 2009 at 10:39 AM, Diego - Red Baires
<diego_redbaires@hotmail.com> wrote:
> (is today between date-A and date-B, if so, is now between 3pm and 4pm?)
much better and easier is:
is now betwenn date-A/3pm and dateB-4pm?
for this, convert the full date/time to a timestamp and compare 'now' with those
--
Javier