powered by
Convert input in year-month-day format to date
as_ymd(x)
Input variable
Date variable of class Date
# NOT RUN { as_ymd("2013-1-1") # }
Run the code above in your browser using DataLab