minute

Extracts the minute value from a date/time object.

minute(date) → returns numeric

Member Function Syntax

date.minute()

minute Argument Reference

date date
Required

Compatibility

ColdFusion:

Member function is available in CF11+.

Lucee:

Member function is available in Lucee4.5+.

Examples sample code invoking the minute function

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

Expected Result: 30


Fork me on GitHub