1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>RTC_GetDayOfWeek</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">RTC_GetDayOfWeek <img src="../image/NTR.gif" align="middle"><img src="../image/TWL.gif" align="middle"></h1>
15
16<h2>Syntax</h2>
17
18<dl>
19  <dd>
20<CODE>#include &lt;nitro/rtc.h&gt;</CODE><BR>
21  <PRE><CODE>RTCWeek RTC_GetDayOfWeek( <A href="RTCDate.html">RTCDate</A>* date );</CODE></PRE>
22  </dd>
23
24</dl><h2>Arguments</h2>
25<TABLE border="1" width="100%">
26  <TBODY>
27    <TR>
28<TD width="300"><em><strong><font face="Courier New">date</font></strong></em></TD>
29<TD width="700">Pointer to date data.</TD>
30    </TR>
31  </TBODY>
32</TABLE>
33
34<h2>Return Values</h2>
35<p>The day of the week corresponding to the specified date.</p>
36
37<H2>Description</H2>
38<P>Gets the day of the week corresponding to the specified date.</P>
39<P>The obtained date data is stored in <SPAN class="argument">date</SPAN>.</P>
40<P>You can get the day of the week as one of the following values for the <A href="RTCWeek.html">RTCWeek</A> enumerated type.
41</P>
42<TABLE border="1">
43  <TBODY>
44    <TR>
45<TH>Return Value</TH>
46<TH>Day of the Week</TH>
47    </TR>
48    <TR>
49<TD>RTC_WEEK_SUNDAY</TD>
50<TD>Sunday</TD>
51    </TR>
52    <TR>
53<TD>RTC_WEEK_MONDAY</TD>
54<TD>Monday</TD>
55    </TR>
56    <TR>
57<TD>RTC_WEEK_TUESDAY</TD>
58<TD>Tuesday</TD>
59    </TR>
60    <TR>
61<TD>RTC_WEEK_WEDNESDAY</TD>
62<TD>Wednesday</TD>
63    </TR>
64    <TR>
65<TD>RTC_WEEK_THURSDAY</TD>
66<TD>Thursday</TD>
67    </TR>
68    <TR>
69<TD>RTC_WEEK_FRIDAY</TD>
70<TD>Friday</TD>
71    </TR>
72    <TR>
73<TD>RTC_WEEK_SATURDAY</TD>
74<TD>Saturday</TD>
75    </TR>
76  </TBODY>
77</TABLE>
78<h2>See Also</h2>
79<P><CODE><A href="RTCWeek.html">RTCWeek</A></CODE></P>
80
81<H2>Revision History</H2>
82<P>2009/03/31 Initial version.
83</P>
84<hr><p>CONFIDENTIAL</p></body>
85</html>
86