$monthname

Determines the month name associated with a specified date value.

Syntax

$monthname(date)

Parameters

date

a data, or an expression that evaluates to a date, in the form YYYYMMDD

Return Value

Character string.

Comments

This function extracts month information from standard date values. Date is often the system variable $Date.

The values returned by the $monthname function can be changed with the Language Customizer utility, ZIMLANG.

Example

$monthname(19981225)

Evaluates to "December".

$monthname($date+7)

Evaluates to "January" when $Date is 19981225.

 

Related Topics