Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This routine is available starting with SIL Engineā„¢ 1.0.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

monthName(date)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the month name of the provided date.

Returns the month name of the provided date. English only. One of the following string values: " Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov","Dec".

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

date

...

Date

Yes

Specifies a Date or a DateTime expression.

Return

...

Type

stringString

...

Examples

Example 1

Code Block
print("Month is " + monthName(currentDate()));

Example 2

Code Block
date varDateTime = "2011-08-17T18:30:55";
print("Month is " + monthName(varDateTime));

PrintĀ  Print Month is Aug

See also

Filter by label (Content by label)
showLabelsfalse
max10025
showSpacefalse
cqllabel = "date_routines" and space = currentSpace ( )
labelsdatearray_routines