convert_date_string_stdform {IPDFileCheck}R Documentation

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

Description

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

Usage

convert_date_string_stdform(entry, orderby)

Arguments

entry

a date e.g 1 Jan 2020 with no commas

orderby

give the order such as mdy, dmy etc where d refers to day, m to month and y to year

Value

entry corrected entries as in standard date format

Examples

convert_date_string_stdform("Jan-1-2020", "mdy")

[Package IPDFileCheck version 0.8.1 Index]