Difference between revisions of "Template:Sunday after"

From OrthodoxWiki
Jump to: navigation, search
(new)
 
m (Sunday fix)
Line 1: Line 1:
{{#time:{{{format|F j, Y}}}| {{{date|}}} + {{#expr: 7 - {{#time:N| {{{date|}}} }} }} day}} <noinclude>
+
{{#time:{{{format|F j, Y}}}| {{{date|}}} + {{#expr: 7 - {{#time:w| {{{date|}}} }} }} day}} <noinclude>
 
----
 
----
 
==Usage==
 
==Usage==

Revision as of 16:14, November 30, 2011

April 28, 2024


Usage

This template displays the date of next Sunday.

Usage: {{Sunday after}}


Or this template displays the date of the Sunday after the date given by the date parameter in the format of the format parameter.

Usage: {{Sunday after | date=mm dd yyyy | format=format string}}

where mm dd yyyy is the month day year

default date is today

default format string is F j, Y format string see chart at Template:Pascha date