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