Difference between revisions of "Template:CURRENTJULIANDAY"

From blackwiki
Jump to navigation Jump to search
imported>Pppery
(Undid revision 737728928 by Verdy p Please stop moving tfd tags to the bottom, where they don't belong according to the the tfd listing instructions)
imported>Verdy p
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Tfm/dated|page=CURRENTJULIANDAY|otherpage=JULIANDAY|link=Wikipedia:Templates for discussion/Log/2016 September 4#Template:CURRENTJULIANDAY}}
+
{{#expr:{{#time:U}}/86400+2440587.5}}<noinclude>
</noinclude>{{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{CURRENTHOUR}}|{{CURRENTMINUTE}}|{{CURRENTSECOND}}}}<noinclude>{{Documentation}}</noinclude>
+
{{Documentation}}
 +
</noinclude>

Latest revision as of 12:42, 11 December 2017

2460924.1396528

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