13.12.2024, 13:09
Hi all,
I'm using this line of script to compare the date i get from value.date with the os.date
That part is working fine but now i want a second function where i can do some action one day before. This script is running once a day checking a list with dates to compare.
Thanks in advance,
Joep
I'm using this line of script to compare the date i get from value.date with the os.date
That part is working fine but now i want a second function where i can do some action one day before. This script is running once a day checking a list with dates to compare.
Code:
if value.date == os.date("%Y-%m-%d") then
--do something
end
Thanks in advance,
Joep