.. highlightlang:: us .. index:: DT_GetDayOfWeek .. _dt_getdayofweek: DT_GetDayOfWeek =============== .. us.tag DT_GetDayOfWeek NOTREADYENGLISH DT_FUNC :ref:`DT_GetDayOfWeek` returns the day of the week the *rmDateTime* value represents (Sunday = 1). .. function:: nDay = DT_GetDayOfWeek(rvDateTime) .. us.return **Return Value** *nDay* .. us.params **Parameters** .. uparam:: rvDateTime *rvDateTime* .. us.comment **Comment** .. seealso:: :ref:`overview-date-and-time`, :ref:`DT_GetCurrentTime` :sub:`id-193021`