minute

Extracts the minute value from a date/time object.

minute(date) → returns Numeric

Member Function Syntax

date.minute()

Argument Reference for the minute function

date

Required: Yes
Values:
  • now()

Compatibility

ColdFusion:

Member function is available in CF 11+.

Lucee:

Member function is available in Lucee 4.5+.

Examples sample code invoking the minute function


Minutes of a datatime object

dt = createdatetime(2016,1,1,5,30,25);
m = minute( dt );
writeoutput( m );

Expected Result: 30


Fork me on GitHub