We can get day of the week in different formats by using jddayofweek function. This function takes Julian day number as integer and returns the day . Here is the syntax
jddayofweek(Julian_day_numnber, mode )
As we have used default format so the function will return 0 for Sunday , 1 for Monday ...
If we change the format like this