I have two values in the time format, 20:03:02
and 20:03:35
, which are in a array in Lua.
hora_array={"20:03:02", "20:03:35"}
The difference between the two values is 33 seconds (20:03:02 - 20:03:35 = 33).
I want to insert values in the same array one by one, ie 20:03:03, 20:03:04 until the value reaches 20:03:35 (+ 33 elements in the array). array ).
How can I add a number to a string ? The end result of the array would be this:
hora_array={"20:03:02","20:03:03","20:03:04","..." "20:03:35"}