Template:Dayoffset

From OrthodoxWiki
Revision as of 06:19, 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

10



This template calculates the day of the month that will result from a given positive or negative offset in days. The value used for today in the examples is
Template:Evdn

Examples:

English Template Result
Today - 30 {{ day from day offset|-30}} </td><td> Template:Day from day offset
Today + 2 {{ day from day offset|2}} </td><td> Template:Day from day offset
Today + 30 {{ day from day offset|30}} </td><td> Template:Day from day offset

Combination with Template:Month from day offset (edit talk links history)

English Template Result
Today - 30 {{monthoffset|-30}} {{dayoffset|-30}} November
10


Today + 2 {{monthoffset|2}} {{dayoffset|2}} December
12


Today + 30 {{monthoffset|30}} {{dayoffset|30}} December
9