MONTH {ExcelFunctionsR}R Documentation

Basic MONTH function from excel

Description

It acts similiarly to Excel's MONTH function. It extracts the month part from the date.

Usage

MONTH(date)

Arguments

date

Enter the date to get the month from.

Value

In this case the function will give you 12 as it is the month of the date we have specified.Function will always return numeric class.

Examples

MONTH(DATE(2020,12,1))

[Package ExcelFunctionsR version 0.1.4 Index]