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.

calculate diferent between years, month, days
#3
Hi Erwin,

Mostly looks great, sometimes is has a miscalculation of 1 day, but i couldn't figure it out why.

Another thing, what i will try to fix, is when the first date is before 1970.
i changed
Code:
unixend = os.time(enddate)
with
Code:
unixend = os.time()
Reply


Messages In This Thread
RE: calculate diferent between years, month, days - by Dré - 18.04.2022, 13:33

Forum Jump: