Template:Monthoffset

From OrthodoxWiki
Revision as of 06:15, April 9, 2008 by Koavf (Talk | contribs) (<noinclude>Category:Calendar templates</noinclude>)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

September

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}} August
Today + 2 {{monthoffset|2}} September
Today + 30 {{monthoffset|30}} September

Combination with {{dayoffset}}:

English Template Result
Today - 30 {{monthoffset|-30}} {{dayoffset|-30}} August
30


Today + 2 {{monthoffset|2}} {{dayoffset|2}} September
1


Today + 30 {{monthoffset|30}} {{dayoffset|30}} September
29