Difference between revisions of "Template:CURRENTJULIANDAY"

From blackwiki
Jump to navigation Jump to search
imported>Verdy p
(please don't add newlines after a NOINCLUDE section ! this breaks pages; merge the two noinclude sections)
imported>Verdy p
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{CURRENTHOUR}}|{{CURRENTMINUTE}}|{{CURRENTSECOND}}}}<noinclude>{{Tfm/dated|page=CURRENTJULIANDAY|otherpage=JULIANDAY|link=Wikipedia:Templates for discussion/Log/2016 September 4#Template:CURRENTJULIANDAY}}{{Documentation}}</noinclude>
+
{{#expr:{{#time:U}}/86400+2440587.5}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 12:42, 11 December 2017

2461053.9984954

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