jddayofweek(): getting week dayWe 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
Here is an example.
The output will be 6.
As we have used default format so the function will return 0 for sunday , 1 for Monday ...
If we change the format like this
The output will be Saturday
The output will be Sat