Bahaipedia
Bahaipedia
Menu
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Template
Discussion
View history
Talk
Contributions
Create account
Log in
Navigation
About Bahaipedia
Ask a question
General help
Random page
Recent changes
In other projects
Learn more
Core topics
Bahá’í Faith
Central Figures
Teachings
Practices
Tools
What links here
Related changes
Upload file
Special pages
Printable version
Permanent link
Page information
Translations

Template:Age in days

From Bahaipedia
Jump to:navigation, search
Template documentation[view] [edit] [history] [purge]

Usage[edit]

This template returns the number of days between two dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. To use type:

{{age in days|month1= |day1= |year1= |month2= |day2= | year2=}}, or with unnames parameters:
{{age in days|year1|month1|day1|year2|month2|day2}} or
{{age in days|year1|month1|day1}}

Examples:

  • {{age in days|2007|5|24|2008|4|23}} gives 335
  • {{age in days|2007|5|24}} gives 6645

See also[edit]

  • {{age}} — Age in years
  • {{age in years and days}} — Age in years and days
  • {{birth date and age}}
The above documentation is transcluded from Template:Age in days/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://bahaipedia.org/index.php?title=Template:Age_in_days&oldid=20729"
This page was last edited on 10 April 2008, at 15:25.
Text is available under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Privacy policy
About Bahaipedia
Disclaimers
Powered by MediaWiki