Skip to main content

TcxSchedulerDateTimeHelper.MonthYearToStr(Integer,Integer) Method

Returns the string representation of the AMonth month and AYear year.

Declaration

class function MonthYearToStr(AMonth: Integer; AYear: Integer): string; virtual;

Parameters

Name Type
AMonth Integer
AYear Integer

Returns

Type
string

Remarks

Use the MonthYearToStr method to get a string containing the name of the month and the number of the year.

The AMonth parameter specifies the number of the month to be returned in the string;

The AYear parameter specifies the year to be returned in the string.

Note

the order of the date elements in the string returned is dependent upon the host environment’s settings.

See Also