Learn R Programming

cascsim (version 0.4)

toDate: Convert US date mm/dd/yyyy to yyyy-mm-dd format

Description

Convert US date mm/dd/yyyy to yyyy-mm-dd format

Usage

toDate(d)

Arguments

d

vector of dates in possible US format

Examples

Run this code
# NOT RUN {
toDate("3/5/2017")
# }

Run the code above in your browser using DataLab