14.10.2012, 09:00
I need a stock to count days/hours/minutes/seconds ect. from minutes, i don't know how to explain it and therefore i didn't know what to search for in the forums. All i want is this:
stock GetDateAfterMinutes(minutes,&day,&month,&year)
I know how to make it in theory, but my brain capacity isn't enough to think about it.
It needs to get a correct date everytime, so it has to know how many days are in every month, is it a leap year (does febhave 28 or 29 days) and so on. Post me some links to existing threads, or even give me the stock if you have one.
Thanks, Jarno.
stock GetDateAfterMinutes(minutes,&day,&month,&year)
I know how to make it in theory, but my brain capacity isn't enough to think about it.
It needs to get a correct date everytime, so it has to know how many days are in every month, is it a leap year (does febhave 28 or 29 days) and so on. Post me some links to existing threads, or even give me the stock if you have one.
Thanks, Jarno.


