Template:Dayoffset

From OrthodoxWiki
Revision as of 03:13, April 20, 2007 by ASDamick (talk | contribs) (New page: {{{{{subst|}}}JULIANDAY.DAY|{{{{{subst|}}}YMD2MJD|subst={{{subst|}}}}}+2400000.5+{{{1|+0.5}}}|subst={{{subst|}}}}}<noinclude> ---- ;This template calculates the day of the month that will...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

16



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}} March
17


Today + 2 {{monthoffset|2}} {{dayoffset|2}} April
18


Today + 30 {{monthoffset|30}} {{dayoffset|30}} April
16