Returns the day of the week of a date that is in the native database format.
mint rdayofweek(int4 jdate);