I would like to take the time (HH: MM: SS) per millisecond.
Ex: 86400000
It would be: 24:00:00
since it is the equivalent of one day.
I would like to take the time (HH: MM: SS) per millisecond.
Ex: 86400000
It would be: 24:00:00
since it is the equivalent of one day.
As far as I know, it is not possible directly on Lua. The closest you could get is to use os.clock()
but accuracy is lower. However I can suggest some options:
socket.gettime() * 1000
.