Stampa:WEEKDAYNAME
This template returns the name of the weekday whose number is in parameter. Alternatively, the english weekday name or abbreviation (with any letter case) can be given.
- Syntax:
{{WEEKDAYNAME|
day}}
- The day value can be any numeric expression and is interpreted modulo 7 (extra leading zeroes and decimals are ignored), so it accepts any valid julian day timestamp.
- Example with a timestamp:
{{WEEKDAYNAME|{{JULIANDAY|2000|01|01}}}}
returns E shtunë.
- Examples for all standard English week day names:
{{WEEKDAYNAME|MONDAY}}
returns E hënë{{WEEKDAYNAME|TUESDAY}}
returns E martë{{WEEKDAYNAME|WEDNESDAY}}
returns E mërkurë{{WEEKDAYNAME|THURSDAY}}
returns E enjte{{WEEKDAYNAME|FRIDAY}}
returns E premte{{WEEKDAYNAME|SATURDAY}}
returns E shtunë{{WEEKDAYNAME|SUNDAY}}
returns E dielë
- Examples for all abbreviated English week day names:
{{WEEKDAYNAME|mon}}
returns E hënë{{WEEKDAYNAME|tue}}
returns E martë{{WEEKDAYNAME|wed}}
returns E mërkurë{{WEEKDAYNAME|thu}}
returns E enjte{{WEEKDAYNAME|fri}}
returns E premte{{WEEKDAYNAME|sat}}
returns E shtunë{{WEEKDAYNAME|sun}}
returns E dielë
- Examples for all standard week day numbers:
{{WEEKDAYNAME|0}}
returns E hënë{{WEEKDAYNAME|1}}
returns E martë{{WEEKDAYNAME|2}}
returns E mërkurë{{WEEKDAYNAME|3}}
returns E enjte{{WEEKDAYNAME|4}}
returns E premte{{WEEKDAYNAME|5}}
returns E shtunë{{WEEKDAYNAME|6}}
returns E dielë
- Examples for week day numbers with extra leading zero:
{{WEEKDAYNAME|00}}
returns E hënë{{WEEKDAYNAME|01}}
returns E martë{{WEEKDAYNAME|02}}
returns E mërkurë{{WEEKDAYNAME|03}}
returns E enjte{{WEEKDAYNAME|04}}
returns E premte{{WEEKDAYNAME|05}}
returns E shtunë{{WEEKDAYNAME|06}}
returns E dielë
- Examples for week day number cyclic underflows and overflows, from computed values:
{{WEEKDAYNAME|-701}}
returns E dielë{{WEEKDAYNAME|-700}}
returns E hënë{{WEEKDAYNAME|-699}}
returns E martë{{WEEKDAYNAME|-7}}
returns E hënë{{WEEKDAYNAME|-6}}
returns E martë{{WEEKDAYNAME|-5}}
returns E mërkurë{{WEEKDAYNAME|-4}}
returns E enjte{{WEEKDAYNAME|-3}}
returns E premte{{WEEKDAYNAME|-2}}
returns E shtunë{{WEEKDAYNAME|-1}}
returns E dielë{{WEEKDAYNAME|7}}
returns E hënë{{WEEKDAYNAME|8}}
returns E martë{{WEEKDAYNAME|9}}
returns E mërkurë{{WEEKDAYNAME|10}}
returns E enjte{{WEEKDAYNAME|13}}
returns E dielë{{WEEKDAYNAME|14}}
returns E hënë{{WEEKDAYNAME|15}}
returns E martë{{WEEKDAYNAME|700}}
returns E hënë{{WEEKDAYNAME|701}}
returns E martë{{WEEKDAYNAME|707}}
returns E hënë