Template:Dayoffset

From OrthodoxWiki
Revision as of 23:19, April 8, 2008 by Koavf (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

21



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}} July
21


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


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


Personal tools
Namespaces
Variants
Actions
Navigation
interaction
Donate

Please consider supporting OrthodoxWiki. FAQs

Toolbox