GetMonthAsString

This function evaluates to the string name of the month of the given datetime.

Description

The month name.

Type

STRING

Arguments

Type

Meaning

1

DATETIME

the datetime of any time within the month

Evaluation

The datetime argument; which may be specified symbolically, is converted into an actual datetime. Then, the name of the month in which the datetime is in, is determined. This function requires that the specified datetime resolve to at least a partially specified datetime in the “Month day, year” format with the month specified.

Comments

As elsewhere in RiverWare, 24:00 hours is considered to be the day which is ending, and 00:00 hours is considered to be the day which is just beginning.

 
GetMonthAsString(@"February 23, 1996")
 
"February"