Info |
---|
|
This routine is available starting with SIL Engineā¢ 1.0. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | monthName(date) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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) |
---|
showLabels | false |
---|
max | 10025 |
---|
showSpace | false |
---|
cql | label = "date_routines" and space = currentSpace ( ) |
---|
labels | datearray_routines |
---|
|