How to convert days to months and years ?
#1

Hello,

I need example code to convert number days to number months and number years, thanks for all!
Reply
#2

Up ;]
Reply
#3

Just divide number by 365 and you get years. Divide it by 30 and you get months
Reply
#4

I know what do I don't know how to do.
Reply
#5

Use this include
Next time use the search button, it took me 5 seconds to find it..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)