05.08.2019, 16:19
Hi
You have error in line 3, and you should split our result from the function to some variable.
You have error in line 3, and you should split our result from the function to some variable.
Code:
function shiftdate(date,days)
date.hour = 12
return os.date('*t', os.time(date) + days * 86400)
end
date = grp.getvalue('date')
days=grp.getvalue('days')
log(shiftdate(date,days))
------------------------------
Ctrl+F5
Ctrl+F5