StringToDate: Converts an date string to a date

Description Usage Arguments Value Examples

View source: R/date_functions.R

Description

Converts a string in date format(dd-MMM-yy) into a R Date.

Usage

1
StringToDate(x, century = F)

Arguments

x

Date string to be converted.

century

Informs if the string has the century included (dd-MM-yyyy). Default is F.

Value

Returns the date string as a date

Examples

1
2
StringToDate("01-JAN-16")
StringToDate("01-JAN-2017", T)

neemtreeparrot/tidbitr documentation built on May 23, 2019, 1:31 p.m.