lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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