parseYears: Convert character vector of dates to numeric vector of...

View source: R/parseYears.R

parseYearsR Documentation

Convert character vector of dates to numeric vector of days-of-month

Description

Function to convert a character vector of dates to a numeric vector of days-of-month.

Usage

parseYears(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.