I'm stuck using the 4.0 version of lua which does not seem to support the os library. Is there a way to include this library into my project? Or get another way to use the functionality contained within pertaining to date time calculations?
Preferably by using a *.lua file and not a *.c file since I don't have complete access to the code.
When I run the following line,
print(os.time{year=1970, month=1, day=1, hour=0})
I get an error stating:
attempt to index global 'os'(a nil value)
As @Colonel Thirty Two said it's not possible to use the os library. So the time() funciton is not available for me.