Using the following macro !power {{ --ordinal|@{Global|Date} --year|[[floor(@{Global|Date}/365)]] --day-of-year| [[@{Global|Date} - floor(@{Global|Date}/365)*365]] --?? [[@{Global|Date} - floor(@{Global|Date}/365)*365]] > 0 AND [[@{Global|Date} - floor(@{Global|Date}/365)*365]] < 31 ?? Month|January --?? [[@{Global|Date} - floor(@{Global|Date}/365)*365]] > 30 AND [[@{Global|Date} - floor(@{Global|Date}/365)*365]] < 58 ?? Month|February results in the following output ordinal 678910 year <span class="userscript-inlinerollresult userscript-showtip userscript-tipsy" original-title="Roll: floor(678910 / 365) Results: floor(678910/365) = 1860" style="box-sizing: content-box; min-width: 1.75em; text-align: center; display: inline-block; font-weight: bold; height: 1em; margin-top: -1px; margin-bottom: 1px; padding: 0px 2px; border: 1px solid rgb(135, 133, 10); border-radius: 3px; background-color: rgb(255, 254, 162);">1860 day-of-year <span class="userscript-inlinerollresult userscript-showtip userscript-tipsy" original-title="Roll: 678910 - floor(678910 / 365) 365 Results: 678910 - floor(678910 / 365) 365 = 10" style="box-sizing: content-box; min-width: 1.75em; text-align: center; display: inline-block; font-weight: bold; height: 1em; margin-top: -1px; margin-bottom: 1px; padding: 0px 2px; border: 1px solid rgb(135, 133, 10); border-radius: 3px; background-color: rgb(255, 254, 162);">10 Month February Month February