powered by
Convert input in day-month-year-hour-minute-second format to date-time
as_dmy_hms(x)
Input variable
Date-time variable of class Date
# NOT RUN { as_mdy_hms("1-1-2014 12:15:01") # }
Run the code above in your browser using DataLab