Template:JULIANDAY.JULIAN: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(adding a new Julian day calculator to make Template:Episode calculations more accurate)
 
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#expr:(((({{{1}}})*12+({{{2|1}}})+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0)+(((({{{2|1}}})+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+{{{3}}}+({{{4|12}}})/24+({{{5|0}}})/1440+({{{6|0}}})/86400-32205.5}}|Parameter 1=''year'' required!}}</includeonly><noinclude>{{Documentation}}
<includeonly>{{#if:{{{1|}}}|{{#expr:(((({{{1}}})*12+({{{2|1}}})+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0)+(((({{{2|1}}})+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+{{{3}}}+({{{4|12}}})/24+({{{5|0}}})/1440+({{{6|0}}})/86400-32205.5}}|Parameter 1=''year'' required!}}</includeonly><noinclude>
[[Category:Date-computing templates|{{PAGENAME}}]]
[[Category:Date-computing templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 13:26, 18 September 2021