Template:JD
Revision as of 07:47, 30 April 2006 by imported>Verdy p
Template:Template documentation
This template converts date elements, or date and time elements, into a Julian date timestamp. It interprets all dates starting at 15 October 1582 in the Gregorian calendar, otherwise it uses the Julian calendar that was valid until 04 October 1582.
- Syntax:
- {{JD|year|[month]|[day]|[hour]|[minute]|[second]}}
- {{JD}}
- If the year parameter is missing, all other parameters are ignored, and their default is the current UTC date and time, as set on the server.
- Otherwise, all parameters for the date and time must be specified as valid numeric expressions.
- The default day and month are 1.
- Any date whose computed month and year are before October 1582, or are in October 1582 but the day is before the 15th, will be interpreted as dates in the Julian calendar.
- The default hour is 12 (for noon).
- The default 'minute or second is 0.
- Example:
- It is JD 2461057.386 now.
- See also: