Minute Function

Returns the minute of the hour that corresponds to the serial time value that is generated by the TimeSerial or the TimeValue function.

Sintaksa:


Int (Broj)

Vrati vrijednost:

Cjelobrojno

Parametri:

Number: Numerički izraz koji sadrži serijski datum koji će se koristiti da se ustanovi mjesec godine.

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 Minute(TimeSerial(12,30,41))

vrača vrijednost 20.

Error codes:

5 Invalid procedure call

Primjer:


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

Please support us!