Well, remember that % gives you the remainder after division, so any multiple of 12 will satisfy that condition.
How to calculate the year by adding n months?
How to calculate the year by adding n months?
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to calculate a months' 1st, 4th, 7th day and also 1st again? | cananb | 1 | 1,576 |
Nov-11-2020, 09:17 PM Last Post: deanhystad |
|
how to tell python to do something every 6 months | Jezani_VIII | 1 | 2,002 |
Aug-18-2019, 02:30 PM Last Post: ichabod801 |
Users browsing this thread: 2 Guest(s)