Notification

AppSheet will be conducting service maintenance starting Sunday, May 19th, 2024 at 12:00 PM (7:00 PM UTC) and completing no later than 4:00 PM PDT (11:00 PM UTC). Learn more

A página solicitada ainda não está disponível no seu idioma. Você pode escolher outra língua no final da página ou usar o recurso de tradução incorporado do Google Chrome para ver qualquer página da Web no idioma que preferir.

MINUTE()

Minute of hour from Duration

Returns the number of whole minutes (Number value) explicitly specified if identifiable, or 0 if a minute is not found.

Sample usage

MINUTE("007:14:21") returns 14

MINUTE(TIMENOW() - "00:00:00") returns minutes since the top of the hour; the current minute of the hour.  See also: TIMENOW()

Minutes in duration

MINUTE() merely extracts the minutes component from a Duration value; it does not compute the number of minutes the Duration value represents in total. To compute the total minutes comprising a Duration value, use TOTALMINUTES().

Common problems

MINUTE(NOW()) (or any DateTime or Time value in place of NOW()) causes Expression Assistant to complain, Parameter 1 of function MINUTE is of the wrong type. The argument must be a Duration value, not a DateTime or Time value. To fix, convert a DateTime value to a Time value with TIME(), then subtract a zero time to convert a Time value to a Duration value: MINUTE(TIME(NOW()) - "00:00:00"). See also: NOW(), TIME()

Syntax

MINUTE(duration)

  • duration - A Duration value.

Notes

MINUTE(...) is equivalent to (NUMBER(INDEX(SPLIT(TEXT(...), ":"), 2)) + 0) when ... is a Time value. See also: INDEX(), NUMBER(), SPLIT(), TEXT().

See Also

Date and time expressions

HOUR()

SECOND()

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Main menu
508271608118660961
true
Search Help Center
true
true
true
false
false