30.03.2023, 05:27
Try this:
Code:
time = grp.getvalue('0/0/1')
date = grp.getvalue('0/0/2')
-- merge tables
for k, v in pairs(date) do
time[ k ] = v
end
seconds = os.time(time) - os.time()
minutes = math.round(seconds / 60)
log(minutes)