Skip to end of banner
Go to start of banner

monthName

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

This routine is available starting with SIL Engine™ 1.0.

Syntax

monthName(date)

Description

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

Parameter name

Type

Required

Description

date

date

Yes

Specifies a Date or a DateTime expression.

Return type

string

Example

Example 1

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

Example 2

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

Print  Month is Aug

See also


  • No labels