Minute Function

Vraća cijeli broj koji predstavlja sekunde od broja serijskog vremena koji je generiran sa TimeSerial ili TimeValue funkcijom.

Syntax:

Minute (Broj)

Povratna vrijednost

Cijeli broj

Parametri:

Number: Numeric expression that contains the serial time value that is used to return the minute value.

This function is the opposite of the TimeSerial function. It returns the minute of the serial time value that is generated by the TimeSerial or the TimeValue function. For example, the expression:

Print Second(TimeSerial(12,30,41))

vraća vrijednost 20.

Error codes:

5 Invalid procedure call

Primjer:

Sub ExampleSine

MsgBox "The current minute is "& Minute(Now)& "."

End Sub