Template:Week after Pentecost

(Difference between revisions)
Jump to: navigation, search
m (fix)
m
Line 1: Line 1:
{{#ifexpr:
 
{{#expr: {{#time:W|{{{date|}}} }} - {{Pentecost date|year={{#time:Y|{{{date|}}}}}|format=W}} }} > 0
 
| {{#expr: {{#time:W|{{{date|}}} }} - {{Pentecost date|year={{#time:Y|{{{date|}}}}}|format=W}} }}
 
| {{#expr: {{#time:W|{{{date|}}}}} + 52 - {{Pentecost date|format=W|year={{#time:Y|{{{date|jan 5 1956 - 1 year}}}}}}}}}
 
}}<noinclude>
 
----
 
 
{{#ifexpr:  
 
{{#ifexpr:  
 
{{#expr: {{#time:W|{{{date|}}} }} - {{Pentecost date|year={{#time:Y|{{{date|}}}}}|format=W}} }} > 0
 
{{#expr: {{#time:W|{{{date|}}} }} - {{Pentecost date|year={{#time:Y|{{{date|}}}}}|format=W}} }} > 0

Revision as of 06:19, December 2, 2011

8

This template displays the current week number after Pentecost.

(Week 1 starts the Monday after Pentecost)

Usage

Usage: {{Week after Pentecost}}

Or this template displays the current week number after Pentecost for the date given.

Usage: {{Week after Pentecost|date=Mmm dd yyyy}}

where Mmm dd yyyy is the month day year

default date is today (default month is this month, default day is today, default year is this year)

Example

{{Week after Pentecost|date=Feb 18 2011}} returns 39

Personal tools
Namespaces
Variants
Actions
Navigation
interaction
Donate

Please consider supporting OrthodoxWiki. FAQs

Toolbox