Difference between revisions of "Template:CURRENTJULIANDAY"

From blackwiki
Jump to navigation Jump to search
imported>Verdy p
(these are not '"instructions", just suggestions for some known cases, and your edits are disruptive)
imported>Verdy p
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{CURRENTHOUR}}|{{CURRENTMINUTE}}|{{CURRENTSECOND}}}}<noinclude>
+
{{#expr:{{#time:U}}/86400+2440587.5}}<noinclude>
{{Tfm/dated|page=CURRENTJULIANDAY|otherpage=JULIANDAY|link=Wikipedia:Templates for discussion/Log/2016 September 4#Template:CURRENTJULIANDAY}}
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:42, 11 December 2017

2460843.2841204

Template documentation[view] [edit] [history] [purge]

This template returns the julian day number for now (based on the current UTC time on the Wikipedia server).

Syntax:
{{CURRENTJULIANDAY}}
See also:
Template:CURRENTYEARCC
Template:CURRENTYEARYY
Template:CURRENTCENTURY
Template:CURRENTMONTHDAYS
Template:CURRENTISOYEAR
Template:CURRENTWEEKDAY
Template:CURRENTMINUTE
Template:JULIANDAY