How to find the day of the week for any date

Hi All,

I would like to know how to find the day of the week for any date.

For example “02/13/2020” is the input the output should be “Thursday”

@TarunTeja
Have a look on this:
DateTime.Parse(“02/13/2020”).ToString(“dddd”)

For more control DateTime.ParseExact(… will be the next station

3 Likes

image

3 Likes

You can do like this also:
dateValue.ToString(“dddd”)

1 Like