getDateDayOfWeek formula

What is a formula for getting which day of the week for a specific date?
Say 10/20/2022 is a Thursday. How do I get Thursday into a field using a formula.
I tried getDateDayOfWeek based on my date field, but not getting results.
Has anyone successfully done this?

I may have it resolved. I get a number, so I’m now trying to convert the number to Text.

Add a short text field and set seven conditions on it. The first condition should be if the number is one then then the value is Monday etc