Template:AddDays: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>ZachPruckowski
m (rm spaces - fix format error?)
imported>Chris Day
No edit summary
Line 5: Line 5:
This template adds a set number of days to the current date and returns the new date.
This template adds a set number of days to the current date and returns the new date.


Useage:  <nowiki>{{AddDays|N}}</nowiki> where N is a number of days less than about 28 (only handles 1 month increment)
Usage:  <nowiki>{{AddDays|N}}</nowiki> where N is a number of days less than about 28 (only handles 1 month increment)


<!--{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }}--!>
<!--{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }}--!>
</noinclude>
</noinclude>

Revision as of 11:26, 13 August 2007


This template adds a set number of days to the current date and returns the new date.

Usage: {{AddDays|N}} where N is a number of days less than about 28 (only handles 1 month increment)