Open main menu

OrthodoxWiki β

Template:Monthoffset

June

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}} May
Today + 2 {{monthoffset|2}} June
Today + 30 {{monthoffset|30}} June

Combination with {{dayoffset}}:

English Template Result
Today - 30 {{monthoffset|-30}} {{dayoffset|-30}} May
24


Today + 2 {{monthoffset|2}} {{dayoffset|2}} June
25


Today + 30 {{monthoffset|30}} {{dayoffset|30}} June
23