The code for changing bank records date from Chapter 1, Why to Choose R for Your Data Mining and where to start?:
movements %>%
mutate(date_new = as.Date(movements$date, origin = "1899-12-30")) %>%
mutate(day_of_week = wday(date_new)) %>%
mutate(month = month(date_new)) -> movements_clean