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

View source: R/IPDFilecheck.R

convert_date_string_stdformR 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")

sheejamk/IPDFileCheck documentation built on March 10, 2024, 3:14 p.m.