Whatever message this page gives is out now! Go check it out!

Minute

Last update:
May 18, 2026

Description

Extracts the minute value from a date/time object.

Returns

The ordinal value of the minute, in the range 0-59.

Category

Function syntax

Minute(date)

See also

Parameters

ParameterDescription
date
A date/time object, in the range 100 AD-9999 AD.

Usage

When passing a date/time value as a string, enclose it in quotation marks. Otherwise, it is interpreted as a number representation of a date/time object.

Example

<cfscript>
    curdatetime = Now();
    writeOutput(curdatetime & "<br/>");
    Writeoutput(minute(curdatetime)); 
</cfscript>
Output
{ts '2018-11-06 06:47:30'}
47

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page