How to convert days to months and years ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to convert days to months and years ? (
/showthread.php?tid=490611)
How to convert days to months and years ? -
GuyYahood1 - 27.01.2014
Hello,
I need example code to convert number days to number months and number years, thanks for all!
Re: How to convert days to months and years ? -
GuyYahood1 - 27.01.2014
Up ;]
Re: How to convert days to months and years ? -
Scottas - 27.01.2014
Just divide number by 365 and you get years. Divide it by 30 and you get months
Re: How to convert days to months and years ? -
GuyYahood1 - 27.01.2014
I know what do I don't know how to do.
Re: How to convert days to months and years ? -
Walnut - 27.01.2014
Use this include
Next time use the search button, it took me 5 seconds to find it..