Hi,
I looked at OpenResty, and there are some date, and time related functions in ngx.*, like:
- http://wiki.nginx.org/HttpLuaModule#ngx.time
- http://wiki.nginx.org/HttpLuaModule#ngx.now
- http://wiki.nginx.org/HttpLuaModule#ngx.localtime
etc.
It would be a nice thing to have (official?) a time, and date types / libs in framework like OpenResty. This one looks quite nice: http://www.scilua.org/time.html.
Or is there already something in place for this?
Btw. I also started writing a new lib for LibXL (http://www.libxl.com/ - commercial, but nice, and affordable):
https://github.com/bungle/lua-resty-libxl (Basic APIs are implemented so far, more to come - so don't take this as an announcement, yet)
Regards
Aapo