Section 2. Chapter 2
single
Challenge: Convert and Format Dates
Swipe to show menu
Task
Swipe to start coding
Convert a vector of character strings representing dates to formatted date strings for a project timeline.
- Convert each element in
date_stringsfrom character to aDateobject. - Format each
Dateobject as "Month Day, Year". - Return a character vector with the formatted dates.
Solution
Everything was clear?
Thanks for your feedback!
Section 2. Chapter 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat