Contents

# Month Function

Vraća mjesec u godini iz serijaliziranog datumskog broja koji generiraju funkcije DateSerial ili DateValue.

## Syntax:

    Month (broj)

## Povratna vrijednost

Cijeli broj

## Parametri:

Number: Numeric expression that contains the serial date number that is used to determine the month of the year.

This function is the opposite of the DateSerial function. It returns the month in the year that corresponds to the serial date that is generated by DateSerial or DateValue. For example, the expression

    Print Month(DateSerial(1994, 12, 20))

vraća vrijednost 12.

### Error codes:

5 Invalid procedure call

## Primjer:

    Sub ExampleMonth
        MsgBox "" & Month(Now) ,64,"The current month"
    End Sub

Please support us!