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