functx:month-abbrev-en

The month of a date as an abbreviated word (Jan, Feb, etc.)

Description

The functx:month-abbrev-en function returns the month of $date as an abbreviated xs:string in English, as in “Jan”, “Feb”, etc.

The $date argument must be castable to xs:date, meaning that it must have the type xs:date or xs:dateTime, or be an xs:string or untyped value of the form YYYY-MM-DD.

Parameters

Description

date:date()

the date

Examples

XPath

Results

functx:month-abbrev-en(xs:date(‘2004-01-23’))

Jan

functx:month-abbrev-en(xs:dateTime(‘2004-01-23T12:00:13’))

Jan

functx:month-abbrev-en(‘2004-01-23’)

Jan

See Also