Parse the birth dates of the Beatles in the following table, and format them in the form AbbreviatedWeekday DayOfMonth AbbreviatedMonthName TwoDigitYear (for example, “Wed 09 Oct 40”). Store the formatted birth dates in an object called Beatle_BD.

 

Beatle Birth date
Ringo Starr 1940-07-07
John Lennon 1940-10-09
Paul McCartney 1942-06-18
George Harrison 1943-02-25

 

(from: Cotton, 2013, Learning R, O’Reilly)