lua-users home
lua-l archive

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


or... more accurately, it was "17:18:17" when I ran it.

On Tue, Mar 31, 2015 at 5:21 PM, Jay Glascoe <jay.glascoe@gmail.com> wrote:
that gives me "23:18:17" when it is "05:18:17", maybe it's my environment?

On Tue, Mar 31, 2015 at 5:13 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> I've googled around quite a bit, but there seems to be no easy way to get
> the current local time in Lua.

Try os.date"%H:%M:%S" .