C-Extensions / C API functions |
Returns the day of the week of a date that is in the native database format.
mint rdayofweek(int4 jdate);
Code | Description |
---|---|
<0 | Invalid date value |
0 | Sunday |
1 | Monday |
2 | Tuesday |
3 | Wednesday |
4 | Thursday |
5 | Friday |
6 | Saturday |