The dataset I have contains the following list of dates that are currently being recognised as factors:

```
Interview_Date = c("Monday 23rd May 2005", "Tuesday 24th May 2005", 
                   "Wednesday 25th May 2005", "Thursday 26th May 2005",
                   "Friday 27th May 2005", "Saturday 28th May 2005",
                   "Sunday 29th May 2005", "Monday 30th May 2005",
                   "Tuesday 31st May 2005", "Wednesday 1st June 2005",
                   "Thursday 2nd June 2005", "Friday 3rd June 2005",
                   "Saturday 4th June 2005", "Sunday 5th June 2005")

```

I'm having trouble converting them into dates. When I tried

```
as.Date(dataframe$Interview_Date, format = "%A%d%B%Y")

```

The resulted ended with "NA". I need it to be recognised as a date so that I can create a boxplot showing:

```
boxplot(EU_Opinion ~ Interview_Date,
    data = dataframe,
    xlab = "Date",
    ylab = "EU Opinion") 

```

But it currently doesn't work because it is a factor variable. What should I do? Or is there another way around creating the boxplot?