Skip to main content

cxMinutesToText(Integer) Method

Converts the AMinutes value into a formatted time string.

Declaration

function cxMinutesToText(AMinutes: Integer): string;

Parameters

Name Type
AMinutes Integer

Returns

Type
string

Remarks

The cxMinutesToText function converts the value of the AMinutes parameter into its string equivalent using an appropriate unit of time measurement (a minute, hour, and day or week).

For example, if the AMinutes parameter’s value is 20160 minutes, then the cxMinutesToText function will return the ‘2 weeks‘ string.

See Also