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 Computing formula (partially indented)   





2 Examples with a non-leap secular year (of rank 3)   





3 Examples with a leap secular year (of rank 4)   





4 Examples with a non-leap non-secular year (of rank 1)   





5 Examples with a non-leap non-secular year (of rank 2)   





6 Examples with a non-leap non-secular year (of rank 3)   





7 Examples with a leap non-secular year (of rank 4)   





8 See also   














Template:JULIANDAY.MONTH







Azərbaycanca


Boarisch
Deutsch
Español
Euskara
فارسی
Føroyskt
Français

La .lojban.
Magyar


ି
Scots
Simple English
Slovenčina
Tagalog

Українська
اردو
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
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
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


This template takes a julian day number and returns the associated month number within the Gregorian calendar.

Computing formula (partially indented) 

For more information about how this formula works, see Julian day.
{{#expr:
(((((({{{1}}})+32044 round 0)mod 146097+36524-
  (((({{{1}}})+32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524
   )mod 1461-
 ((((({{{1}}})+32044 round 0)mod 146097+36524-
  (((({{{1}}})+32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524
   )mod 1461/365+0.5 round 0)*3/4+0.5 round 0)*365+365)*5+308)/153-0.5 round 0)mod 12+1
}}

Examples with a non-leap secular year (of rank 3) 

Examples with a leap secular year (of rank 4) 

Examples with a non-leap non-secular year (of rank 1) 

Examples with a non-leap non-secular year (of rank 2) 

Examples with a non-leap non-secular year (of rank 3) 

Examples with a leap non-secular year (of rank 4) 

See also 


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:JULIANDAY.MONTH&oldid=668769134"

Category: 
Date-computing templates
Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 26 June 2015, at 14:54 (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