luatz
A lua library for time and date manipulation.
Features include:
- Normalisation of broken down date objects
- allows for complex time/date manipulation logic e.g. "What day is it in 2 days, 5 hours from now?"
- Conversion between locations (time zones) using your local zoneinfo database.
strftime
style formatting
Supported under Lua 5.1, 5.2, 5.3 and LuaJIT.
Documentation
Documentation can be found in the doc
sub-directory.
An online version can be found at https://daurnimator.github.io/luatz/
Installation
luarocks
vialuarocks install luatz