This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

os.date -1 day
#1
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.
 
Code:
if value.date == os.date("%Y-%m-%d") then
  --do something
end

Thanks in advance,

Joep
Reply


Messages In This Thread
os.date -1 day - by Joep - 13.12.2024, 13:09
RE: os.date -1 day - by admin - 13.12.2024, 14:36
RE: os.date -1 day - by Joep - 13.12.2024, 15:01

Forum Jump: