IPDFileCheck (version 0.5.0)

convertStdDateFormat: Helper function to keep date formats in year/month/date

Description

Helper function to keep date formats in year/month/date

Usage

convertStdDateFormat(entry, index, monthfirst = NULL)

Arguments

entry

a data frame or a vector

index

those correspond to valid date (omitting non response code or no entry)

monthfirst

if month is given before date, NULL by default

Value

entry corrected entries

Examples

Run this code
# NOT RUN {
convertStdDateFormat(c("01/01/2000","02/02/2002"),c(1,2),NULL)
# }

Run the code above in your browser using DataLab