# RTC_GetDayOfWeek

## Syntax

  `#include <nitro/rtc.h>`

      RTCWeek RTC_GetDayOfWeek( RTCDate* date );

## Arguments

date | Pointer to date data.

## Return Values

The day of the week corresponding to the specified date.

## Description

Gets the day of the week corresponding to the specified date.

The obtained date data is stored in date.

You can get the day of the week as one of the following values for the RTCWeek enumerated type.

Return Value | Day of the Week
--- | ---
RTC_WEEK_SUNDAY | Sunday
RTC_WEEK_MONDAY | Monday
RTC_WEEK_TUESDAY | Tuesday
RTC_WEEK_WEDNESDAY | Wednesday
RTC_WEEK_THURSDAY | Thursday
RTC_WEEK_FRIDAY | Friday
RTC_WEEK_SATURDAY | Saturday

## See Also

`RTCWeek`

## Revision History

2009/03/31 Initial version.

CONFIDENTIAL