Module
Contents
Index 🔎︎

# Second Function

Returns an integer that represents the seconds of the serial time number that is generated by the TimeSerial or the TimeValue function.

## Sintaksa:

    Second (Number)

## 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 seconds of a serial time value that is generated by the TimeSerial or TimeValue functions. For example, the expression:

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

vrača vrijednost 20.

## Error codes:

5 Invalid procedure call

## Primjer:

    Sub ExampleSecond

        MsgBox "The exact second of the current time is "& Second( Now )

    End Sub