Home basic programing in r hackerrank R Basics-21 - Coding-String and Date (Hands On) - ClassiCoder Date ConversionPerform the following tasks:. Convert the string S in the function parameter to a valid date format "yyy-mm-dd" and assign it to ans.. Note: Function Structure is given as an unalterable codeString-and-Date-R-BasicString-and-Date-R-Basic-Solution
2 comments
Convertdate <- as.Date(S, format="%d%m%Y")
Ans<-Convertdate