Template:Monthoffset

From OrthodoxWiki
Jump to: navigation, search

April

Documentation

This template calculates the month that will result from a given positive or negative offset in days. See also {{dayoffset}} to calculate the day of the month.

Examples:

English Template Result
Today - 30 {{monthoffset|-30}} March
Today + 2 {{monthoffset|2}} April
Today + 30 {{monthoffset|30}} April

Combination with {{dayoffset}}:

English Template Result
Today - 30 {{monthoffset|-30}} {{dayoffset|-30}} March
19


Today + 2 {{monthoffset|2}} {{dayoffset|2}} April
20


Today + 30 {{monthoffset|30}} {{dayoffset|30}} April
18