How to convert date to weekday name or month name in Excel?

Source: www.extendoffice.com