This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:cprog:spring2024:projects:mmf0 [2024/02/29 01:38] – [Edge case: leap years] hcopp1 | notes:cprog:spring2024:projects:mmf0 [2024/02/29 01:53] (current) – [Add quartered value back to two digit year] hcopp1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
NOTE: Use () to ensure the code does things in the order you want. | NOTE: Use () to ensure the code does things in the order you want. | ||
====Add quartered value back to two digit year==== | ====Add quartered value back to two digit year==== | ||
- | Add quartered value (output of that last sections equation) to the last two digits of the current year. | + | Add quartered value (output of last sections equation) to the last two digits of the current year (output of first section). |
====Subtract best fitting multiple of seven==== | ====Subtract best fitting multiple of seven==== | ||