S-RDAYOFWEEK" class="id_link">#</a></dt><dd><p>
        Return a number representing the day of the week for a date value.
</p><pre class="synopsis">
int rdayofweek(date d);
</pre><p>
        The function receives the date variable <code class="literal">d</code> as its only
        argument and returns an integer that indicates the day of the week for
        this date.
        </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
           0 - Sund