Lubridate provides ymd() series of functions for parsing character strings into dates. The letters y, m, and d correspond to the year, month, and day elements of a date-time.
mdy("07-21-2016") # Returns Date
## [1] "2016-07-21"
mdy("07-21-2016", t...