lua-users home
lua-l archive

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




Guys, thank you both for your time.
I am now working on that.
I will let you know.

I really appreciate your uninstereted help.

than you very much,

diego


> Date: Sun, 10 May 2009 19:24:22 +0800
> From: keinhong@gmail.com
> To: lua@bazar2.conectiva.com.br
> Subject: Re: LOCALE ERROR - RE: how to compare 2 dates - NOW WITH TIME
>
> Tommy Pettersson wrote:
>> On Fri, May 08, 2009 at 06:22:29PM +0000, Diego - Red Baires wrote:
>>> Hi guys, i still cannot apply the concept that Kein recommends.
>>
>> Hm, I may be missing something here, but what I think you want
>> to do (according to your first description) should not be so
>> complicated. As Kein suggested, use os.date('*t',time) to get
>> the hour of the day &c.
>> [snip]
>
> Thanks, it looks nice. I was more concerned with presenting a
> sample implementation in the simplest possible way.
>
> Well, since Diego is still feeling his way on this thing called
> programming, we'll give him lots of space and lots of time. If he
> has any doubts or roadblocks, just post it on the list and some of
> us will take a look. All of us were once beginners too. :-)
>
> --
> Cheers,
> Kein-Hong Man (esq.)
> Kuala Lumpur, Malaysia


Windows Live™: Keep your life in sync. Check it out!