Having trouble converting dates to weekday

Hi @Mehrul_Singh_Ranavat , remember put a reproducible example.

Like this:
reprex

other way is:

# If data set is daily_steps 
# paste the output of run:
dput(head(daily_steps,20))