date:month-abbreviation

Returns the abbreviation of the month of a date. If no argument is given, then the current local date/time, as returned by date:date-time is used as the default argument. The result is a three-letter English month abbreviation: one of 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov' or 'Dec'.

month-abbreviation($date-time as string?) ➔ string

Arguments

 

$date-time

string?

The input date-time

Result

string

Namespace

http://exslt.org/dates-and-times

Links to specifications

EXSLT Dates and Times Module

Saxon availability

Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).

See also:

date:month-name()