-
June 29th, 2004, 10:47 AM
#1
Lua time calculations
I am currently writing a lua script that deals in time calculations of the form YYYYMMDDHHMMSS. Is there anything in lua, or other already completed functions that calculate the difference between dates in a similar format?
Thanks for the help
-
June 29th, 2004, 11:14 AM
#2
You could look on the lua users site and see. I do not remember seeing anything along those lines though.
Do you know how to use the lua date function?
-
June 29th, 2004, 11:39 AM
#3
I'm retrieving the time with the date function. I need to find the difference between what the date function returns, and what a set time value in the same format is. What I didn't want to do was code up the values for subtracting each month, and was hoping this was already done.
-
May 5th, 2012, 07:17 PM
#4
You may want to check this out. Date.lua
I found this a while back. Lua forge has a project called date Date.lua seems to provide the functions needed.
I can not post the web link but do a google search... Luaforge projects date
Eddy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules