lua-users home
lua-l archive

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


> Is there a way to access time zone information from Lua? Perhaps the 
> time zone name and its UTC offset?

 =os.date"%z"
 -0300
 =os.date"%Z"
 BRT

but %z is a GNU extension.
--lhf