Stampa:WEEKDAYABBREV
Appearance
This template returns the abbreviation of the weekday whose number is in parameter. Alternatively, the English week day name or abbreviation (with any letter case) can be given.
- Syntax:
- {{WEEKDAYABBREV|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:
- {{WEEKDAYABBREV|{{JULIANDAY|2000|01|01}}}} returns Sat.
- Examples for all standard English week day names:
- {{WEEKDAYABBREV|monday}} returns Mon
- {{WEEKDAYABBREV|tuesday}} returns Tue
- {{WEEKDAYABBREV|wednesday}} returns Wed
- {{WEEKDAYABBREV|thursday}} returns Thu
- {{WEEKDAYABBREV|friday}} returns Fri
- {{WEEKDAYABBREV|saturday}} returns Sat
- {{WEEKDAYABBREV|sunday}} returns Sun
- Examples for all abbreviated English week day names:
- {{WEEKDAYABBREV|MON}} returns Mon
- {{WEEKDAYABBREV|TUE}} returns Tue
- {{WEEKDAYABBREV|WED}} returns Wed
- {{WEEKDAYABBREV|THU}} returns Thu
- {{WEEKDAYABBREV|FRI}} returns Fri
- {{WEEKDAYABBREV|SAT}} returns Sat
- {{WEEKDAYABBREV|SUN}} returns Sun
- Examples for all standard week day numbers:
- {{WEEKDAYABBREV|0}} returns Mon
- {{WEEKDAYABBREV|1}} returns Tue
- {{WEEKDAYABBREV|2}} returns Wed
- {{WEEKDAYABBREV|3}} returns Thu
- {{WEEKDAYABBREV|4}} returns Fri
- {{WEEKDAYABBREV|5}} returns Sat
- {{WEEKDAYABBREV|6}} returns Sun
- Examples for week day numbers with extra leading zero:
- {{WEEKDAYABBREV|00}} returns Mon
- {{WEEKDAYABBREV|01}} returns Tue
- {{WEEKDAYABBREV|02}} returns Wed
- {{WEEKDAYABBREV|03}} returns Thu
- {{WEEKDAYABBREV|04}} returns Fri
- {{WEEKDAYABBREV|05}} returns Sat
- {{WEEKDAYABBREV|06}} returns Sun
- Examples for week day number cyclic underflows and overflows, from computed values:
- {{WEEKDAYABBREV|-701}} returns Sun
- {{WEEKDAYABBREV|-700}} returns Mon
- {{WEEKDAYABBREV|-699}} returns Tue
- {{WEEKDAYABBREV|-7}} returns Mon
- {{WEEKDAYABBREV|-6}} returns Tue
- {{WEEKDAYABBREV|-5}} returns Wed
- {{WEEKDAYABBREV|-4}} returns Thu
- {{WEEKDAYABBREV|-3}} returns Fri
- {{WEEKDAYABBREV|-2}} returns Sat
- {{WEEKDAYABBREV|-1}} returns Sun
- {{WEEKDAYABBREV|7}} returns Mon
- {{WEEKDAYABBREV|8}} returns Tue
- {{WEEKDAYABBREV|9}} returns Wed
- {{WEEKDAYABBREV|10}} returns Thu
- {{WEEKDAYABBREV|13}} returns Sun
- {{WEEKDAYABBREV|14}} returns Mon
- {{WEEKDAYABBREV|15}} returns Tue
- {{WEEKDAYABBREV|700}} returns Mon
- {{WEEKDAYABBREV|701}} returns Tue
- {{WEEKDAYABBREV|707}} returns Mon