Convert input in month-day-year-hour-minute format to date-time

as_mdy_hm(x)

Arguments

x

Input variable

Value

Date-time variable of class Date

Examples

as_mdy_hm("1-1-2014 12:15")
#> [1] "2014-01-01 12:15:00 UTC"