DayOfMonth

From MultiCharts
Jump to navigation Jump to search

Returns a numerical value, indicating the day of the month of the specified date.

The date is specified in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.

Usage

DayOfMonth(YYYMMdd)

Where:

YYYMMdd - a numerical expression, specifying the date in YYYMMdd format.

Examples

DayOfMonth(1080101)

Will return a value of 1, indicating the 1st day of the month of January, 2008.

DayOfMonth(990605)

Will return a value of 5, indicating the 5th day of the month of June, 1999.

DayOfMonth(CurrentDate)

Will return a value of 19, indicating that today is the 19th day of the current month.