Difference between revisions of "Template:JulianWeekday"

From blackwiki
Jump to navigation Jump to search
imported>Verdy p
m
imported>Verdy p
m
Line 3: Line 3:
 
{{Template documentation}}
 
{{Template documentation}}
  
Returns the English name of the day of week for the given julian timestamp. For example the current weekday name is <nowiki>{{JulianWeekday|{{JD}}}}</nowiki> = "{{JulianWeekday|{{JD}}}}".
+
Returns the English name of the day of week for the given julian timestamp.
 +
 
 +
For example the current weekday name is <nowiki>{{JulianWeekday|{{JD}}}}</nowiki> = "{{JulianWeekday|{{JD}}}}" (UTC time).
  
 
; Syntax<nowiki>:</nowiki>
 
; Syntax<nowiki>:</nowiki>

Revision as of 21:34, 29 April 2006


Template:Template documentation

Returns the English name of the day of week for the given julian timestamp.

For example the current weekday name is {{JulianWeekday|{{JD}}}} = "Friday" (UTC time).

Syntax:
{{JulianWeekday|timestamp}}
  • The timestamp may be any valid numeric expression that is evaluated and rounded to the nearest integer (noon) before being interpreted as a julian day number.
See also:

fr:Modèle:WEEKDAYNAME