Template:JULIANDAY: Difference between revisions

From Vigyanwiki
Template>Verdy p
m (revert 1 day offset. It was correct before someone said it was wrong by 1 day)
m (54 revisions imported from alpha:Template:JULIANDAY)
 
(26 intermediate revisions by 22 users not shown)
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)-(((({{{1|}}})*12+({{{2|1}}})+57608.5 round 0)/12-1.5 round 0)/100-0.5 round 0)+(((({{{1|}}})*12+({{{2|1}}})+57608.5 round 0)/12-1.5 round 0)/400-0.5 round 0)+(((({{{2|1}}})+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+({{{3|1}}})+({{{4|12}}})/24+({{{5|0}}})/1440+({{{6|0}}})/86400-32167.5}}|Parameter 1=''year'' required!}}</includeonly><noinclude>
<includeonly>{{safesubst:<noinclude/>#if:{{{1|}}}|{{safesubst:<noinclude/>#expr:(((({{{1|}}})*12+({{{2|1}}})+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0)-(((({{{1|}}})*12+({{{2|1}}})+57608.5 round 0)/12-1.5 round 0)/100-0.5 round 0)+(((({{{1|}}})*12+({{{2|1}}})+57608.5 round 0)/12-1.5 round 0)/400-0.5 round 0)+(((({{{2|1}}})+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+({{{3|1}}})+({{{4|12}}})/24+({{{5|0}}})/1440+({{{6|0}}})/86400-32167.5}}|Parameter 1=''year'' required!}}</includeonly><noinclude>{{Documentation}}
{{JULIANDAY/doc}}
[[Category:Date computing template|{{PAGENAME}}]]
[[fr:Modèle:{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 09:52, 31 January 2023

Template documentation