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

August

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

Combination with {{dayoffset}}:

English Template Result
Today - 30 {{monthoffset|-30}} {{dayoffset|-30}} July
26


Today + 2 {{monthoffset|2}} {{dayoffset|2}} August
27


Today + 30 {{monthoffset|30}} {{dayoffset|30}} August
24