Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Examples  





3 See also  














Template:Age in decimal years






Basa Bali
Čeština
Bahasa Indonesia

 

Edit links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


0 years

Usage

[edit]

Displays age in years and fractions of years. Dates can be entered in the format:

{{A.y|Start year|Start month|Start day|End year|End month|End day}}

or

{{A.y|Start date|End date}}

The |round= parameter can be used to set the number of decimal places shown (defaults to 1).

The |suffix= parameter can be used to set the suffix after the number (defaults to "years").

Examples

[edit]

See also

[edit]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Age_in_decimal_years&oldid=1029997121"

Category: 
Date mathematics templates
 



This page was last edited on 23 June 2021, at 07:40 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki