parseMonths: Convert character vector of dates to numeric vector of months

View source: R/parseMonths.R

parseMonthsR Documentation

Convert character vector of dates to numeric vector of months

Description

Function to convert a character vector of dates to a numeric vector of months.

Usage

parseMonths(x, format = "MM/DD/YYYY")

Arguments

x
  • the character vector to convert

format
  • the date format (e.g. 'MM/DD/YYYY','DD-MON-YYYY')

Details

None.

Value

numeric vector of months (1-12)


wStockhausen/wtsUtilities documentation built on March 16, 2024, 10:38 a.m.