In Microsoft Excel
=TEXT(A2, "dddd")
Calculates the day of the week for the date and returns the full name of the day of the week (Monday)
=TEXT(A3, "ddd")
Calculates the day of the week for the date and returns the abbreviated name of the day of the week (Thu)