亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? apf.htm

?? /// //Visual C++ 6.0 21天自學(xué)教程
?? HTM
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">COleDateTime(WORD wDosDate)</TD>		<TD ALIGN="LEFT">Copies a date time from the MS-DOS-style values WORD and wDosTime</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">COleDateTime(const SYSTEMTIME&amp; systimeSrc)</TD>		<TD ALIGN="LEFT">Copies a date time from a SYSTEMTIME structure</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">COleDateTime(const FILETIME&amp; filetimeSrc)</TD>		<TD ALIGN="LEFT">Copies a date time from a FILETIME structure</TD>	</TR></TABLE></P><P>If you've constructed COleDateTime with a valid date time, the object will bemarked with a valid status flag (COleDateTime::valid). Otherwise, the status flagis invalid (COleDateTime::invalid). You can check this status by calling the GetStatus()member function to return the relevant flag value, or you can force the flag valueby passing it into the SetStatus() function.</P><P>The status flag is also updated when you set date and time values to the objectby calling the SetDateTime() function. This function takes six integer parametersfor the year (100-9999), month (1-12), day of the month (1-31), hour (0-23), minute(0-59), and second (0-59). You can also set just the date or time components by callingSetDate()--passing just the year, month, and day of the month--or by calling SetTime()--passingonly the hour, minute, and second values.</P><P>You can use the GetCurrentTime() static function to retrieve the current systemtime and set it to a COleDateTime object using the = operator overload function likethis:</P><P><PRE>COleDateTime dtCurrent;dtCurrent = COleDateTime::GetCurrentTime();</PRE><P>After running these lines, dtCurrent will be set to your machine's current systemdate and time.</P><P>The same values (in the same ranges) can be retrieved by the return value of GetYear(),GetMonth(), GetDay(), GetHour(), GetMinute(), or GetSecond(). There are also theuseful derivative functions: GetDayOfWeek() and GetDayOfYear(). GetDayOfWeek() returnsthe day of the week in the range 1 to 7 where 1 is Sunday. The GetDayOfYear() functionreturns a value in the range 1 to 366 starting at January 1.</P><P>You can retrieve a displayable formatted CString by using the Format() function.This is probably one of the most useful COleDateTime functions because you can passseveral formatting codes to specify the exact format returned from Format(), as shownin Table F.11. These codes are passed as either a string or a string resource identifier,and several individual codes are strung together to add various aspects of the formatting.</P><P>These values are also modified by the current locale settings. The locale preferencescan affect things such as the names of days and months, the ordering of MM/DD/YYrepresentations, and the AM/PM indicators.</P><P><H4>TABLE F.11.&nbsp;FORMATTING CODES TO FORMAT THE COleDateTime TEXT OUTPUT.</H4><P><TABLE BORDER="1">	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT"><I>Code</I></TD>		<TD ALIGN="LEFT"><I>Example</I></TD>		<TD ALIGN="LEFT"><I>Description</I></TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%a</TD>		<TD ALIGN="LEFT">Sat</TD>		<TD ALIGN="LEFT">Abbreviated day of the week</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%A</TD>		<TD ALIGN="LEFT">Saturday</TD>		<TD ALIGN="LEFT">Day of the week</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%b</TD>		<TD ALIGN="LEFT">Apr</TD>		<TD ALIGN="LEFT">Abbreviated month</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%B</TD>		<TD ALIGN="LEFT">April</TD>		<TD ALIGN="LEFT">Month</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%c</TD>		<TD ALIGN="LEFT">04/04/98 18:05:01</TD>		<TD ALIGN="LEFT">Date and time in the current locale format</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%d</TD>		<TD ALIGN="LEFT">04</TD>		<TD ALIGN="LEFT">Day of the month (01-31)</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%H</TD>		<TD ALIGN="LEFT">18</TD>		<TD ALIGN="LEFT">Hour (00-23) 24 hour</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%I</TD>		<TD ALIGN="LEFT">06</TD>		<TD ALIGN="LEFT">Hour (01-12) 12 hour</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%j</TD>		<TD ALIGN="LEFT">094</TD>		<TD ALIGN="LEFT">Day of the year</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%m</TD>		<TD ALIGN="LEFT">04</TD>		<TD ALIGN="LEFT">Month (01-12)</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%M</TD>		<TD ALIGN="LEFT">05</TD>		<TD ALIGN="LEFT">Minute (01-59)</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%p</TD>		<TD ALIGN="LEFT">PM</TD>		<TD ALIGN="LEFT">AM/PM indicator for locale</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%S</TD>		<TD ALIGN="LEFT">01</TD>		<TD ALIGN="LEFT">Second (01-59)</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%U</TD>		<TD ALIGN="LEFT">13</TD>		<TD ALIGN="LEFT">Week of year (00-51) with Sunday as first day of week</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%w</TD>		<TD ALIGN="LEFT">6</TD>		<TD ALIGN="LEFT">Weekday (0-6) 0=Sunday</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%W</TD>		<TD ALIGN="LEFT">13</TD>		<TD ALIGN="LEFT">Week of year (00-51) with Monday as first day of week</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%x</TD>		<TD ALIGN="LEFT">04/04/98</TD>		<TD ALIGN="LEFT">Date in the current locale format</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%X</TD>		<TD ALIGN="LEFT">18:05:01</TD>		<TD ALIGN="LEFT">Time in the current locale format</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%y</TD>		<TD ALIGN="LEFT">98</TD>		<TD ALIGN="LEFT">Two-digit year (00-99)</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%Y</TD>		<TD ALIGN="LEFT">1998</TD>		<TD ALIGN="LEFT">Four-digit year (0100-9999)</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%z or %Z</TD>		<TD ALIGN="LEFT">GMT Daylight Time</TD>		<TD ALIGN="LEFT">Time zone name/abbreviation</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">% %</TD>		<TD ALIGN="LEFT">%</TD>		<TD ALIGN="LEFT">A percent sign</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%#c</TD>		<TD ALIGN="LEFT">Saturday, April 04, 1998 18:05:01</TD>		<TD ALIGN="LEFT">Current locale long date and time</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">%#x</TD>		<TD ALIGN="LEFT">Saturday, April 04, 1998</TD>		<TD ALIGN="LEFT">Current locale long date</TD>	</TR></TABLE></P><P>You can use the following lines to generate a message box displaying your machine'sdate and time like this:</P><P><PRE>COleDateTime dtCurrent;dtCurrent = COleDateTime::GetCurrentTime();AfxMessageBox(dtCurrent.Format(&quot;Today is %a %b %d, %Y&quot;));</PRE><P>When run, the time will then be displayed in a message box in the following format:</P><P><PRE>Today is Sat Apr 04, 1998</PRE><P>You can get COleDateTime to attempt to determine a date and time by calling ParseDateTime()and passing a string for it to parse and a flag value to specify that only the dateor the time component is required. ParseDateTime() will then scan the string fortime in the format HH:MM:SS, and a date in the format DD/MM/YYYY, or in a long formatsuch as January 18th, 1998. If you only want to scan for the time, you can pass VAR_TIMEVALUEONLYfor the second parameter flag value, alternatively VAR_DATEVALUEONLY for just thedate. If you don't want the users' locale preferences to be used to indicate thestring format to check for, you can pass LOCALE_NOUSEROVERRIDE as this flag value.</P><P>There are also several operator overloads you can use to add and subtract COleDateTimeSpansand to compare date and time values with other date and time values as shown in TableF.12.</P><P><H4>TABLE F.12.&nbsp;OPERATOR OVERLOADS USED IN COleDateTime.</H4><P><TABLE BORDER="1">	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT"><I>Operator</I></TD>		<TD ALIGN="LEFT"><I>Description</I></TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">=</TD>		<TD ALIGN="LEFT">Copy a date/time value from another COleDateTime object, VARIANT structure, DATE			structure, time_t structure, SYSTEMTIME structure, or FILETIME structure.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">+</TD>		<TD ALIGN="LEFT">Add a COleDateTimeSpan value to a COleDateTime value.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">-</TD>		<TD ALIGN="LEFT">Subtract a COleDateTimeSpan from a COleDateTime value or two COleDateTime objects			from each other to yield a COleDateTimeSpan result.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">+=</TD>		<TD ALIGN="LEFT">Add a COleDateTimeSpan value to the current COleDateTime object.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">-=</TD>		<TD ALIGN="LEFT">Subtract a COleDateTimeSpan value from the current COleDateTime object.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">==</TD>		<TD ALIGN="LEFT">Check whether two COleDateTime objects hold an identical date and time.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">!=</TD>		<TD ALIGN="LEFT">Check whether two COleDateTime objects hold different dates and times.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">&lt;</TD>		<TD ALIGN="LEFT">Check whether one COleDateTime object is less than another.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">&gt;</TD>		<TD ALIGN="LEFT">Check whether one COleDateTime object is greater than another.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">&lt;=</TD>		<TD ALIGN="LEFT">Check whether one COleDateTime object is less than or equal to another.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">&gt;=</TD>		<TD ALIGN="LEFT">Check whether one COleDateTime object is greater than or equal to another.</TD>	</TR></TABLE><H3><A NAME="Heading13"></A>Using the COleDateTimeSpan Class</H3><P>A COleDateTimeSpan object can hold the difference between two COleDateTime objects.You can create one by subtracting one COleDateTime object from another or by usingone of the COleDateTimeSpan constructor forms shown in Table F.13.</P><P><H4>TABLE F.13.&nbsp;CONSTRUCTOR TYPES USED WITH COleDateTimeSpan.</H4><P><TABLE BORDER="1">	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">			<H4>Constructor Definition		</TD>		<TD ALIGN="LEFT">			<H4>Description		</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">COleDateTimeSpan()</TD>		<TD ALIGN="LEFT">Create a time span set to zero.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">COleDateTimeSpan(const COleDateTimeSpan&amp; srcSpan)</TD>		<TD ALIGN="LEFT">Copy the time span from another COleDateTimeSpan object.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">COleDateTimeSpan(long lDays, int nHours, int nMins, int nSecs)</TD>		<TD ALIGN="LEFT">Initialize the time span with the passed parameter values.</TD>	</TR>	<TR ALIGN="LEFT" VALIGN="TOP">		<TD ALIGN="LEFT">COleDateTimeSpan(double dSpanSrc)</TD>		<TD ALIGN="LEFT">Initialize the time span with the number of days passed value.</TD>	</TR></TABLE></P><P>After you have a COleDateTimeSpan object, you can check or set its status usingthe GetStatus() and SetStatus() functions just like the COleDateTime object. Theonly differences are that the flag values are COleDateTimeSpan::valid and COleDateTimeSpan::invalid.</P><P>You can also set a time span by passing the number of days, hours, minutes, andseconds as integer parameters to SetDateTimeSpan(). You can then retrieve these valuesfrom a valid COleDateTimeSpan object by calling the GetDays(), GetHours(), GetMinutes(),and GetSeconds() functions that all return long values representing each portionof the time span value. If you want to retrieve the overall time span expressed indays, hours, minutes, or seconds in one double value, you can call GetTotalDays(),GetTotalHours(), GetTotalMinutes(), or GetTotalSeconds(), respectively.</P><P>You can format COleDateTimeSpan values as strings in the same way as COleDateTimevalues by passing a format string using the codes appropriate to time spans fromTable F.11.</P><P>Several operator overloads help you use COleDateTimeSpan objects arithmeticallyto add and subtract time spans to and from each other and also use them in conditions,as shown

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色诱视频网站一区| 亚洲精品国产一区二区精华液| 一区二区三区丝袜| 白白色 亚洲乱淫| 欧美一区二区在线免费观看| 一区二区三区四区在线播放| 99麻豆久久久国产精品免费| 国产夜色精品一区二区av| 久久国产尿小便嘘嘘尿| 欧美一二区视频| 天天操天天色综合| 色哟哟一区二区三区| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 亚洲大片一区二区三区| 在线视频中文字幕一区二区| 亚洲综合色噜噜狠狠| 91蜜桃免费观看视频| 中文字幕日韩av资源站| 99在线精品观看| 亚洲综合图片区| 在线免费精品视频| 偷偷要91色婷婷| 欧美一区二区在线免费播放| 麻豆精品视频在线观看| 精品国产免费久久| 麻豆精品精品国产自在97香蕉| 久久影院午夜论| 成人午夜又粗又硬又大| 亚洲欧美偷拍三级| 欧美一区二区三区系列电影| 国内不卡的二区三区中文字幕| 日韩免费一区二区三区在线播放| 国产在线播放一区三区四| 中文av一区特黄| 91极品美女在线| 亚洲国产精品嫩草影院| 这里只有精品电影| 国产suv精品一区二区三区| 亚洲黄色免费网站| 日韩情涩欧美日韩视频| 麻豆精品国产传媒mv男同| 亚洲国产精品传媒在线观看| 日本道在线观看一区二区| 美国三级日本三级久久99| 日本一区二区三区免费乱视频| 色婷婷av一区二区三区大白胸| 日产国产高清一区二区三区| 国产亚洲精品超碰| 欧美三级一区二区| 国内精品第一页| 亚洲一区国产视频| 久久久久久夜精品精品免费| 91网站在线播放| 国产综合久久久久影院| 亚洲午夜久久久久| 7777精品伊人久久久大香线蕉完整版| 在线精品亚洲一区二区不卡| 精品一区二区三区免费视频| 一区二区三区四区乱视频| 久久亚洲精华国产精华液| 91麻豆免费观看| 国产福利电影一区二区三区| 亚洲国产wwwccc36天堂| 国产女同互慰高潮91漫画| 欧美精品乱码久久久久久按摩| 国产精品伊人色| 日韩精品亚洲一区二区三区免费| 中文字幕在线观看不卡视频| 日韩美女在线视频| 欧美日韩1234| 99久久er热在这里只有精品66| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲18女电影在线观看| 亚洲同性同志一二三专区| 国产亚洲精品7777| 欧美精品一区二区三区四区| 欧美精品丝袜中出| 欧洲一区二区三区在线| 不卡av在线免费观看| 国内外成人在线视频| 免费看黄色91| 日韩精品久久理论片| 亚洲色图欧美偷拍| 1024国产精品| 日韩久久一区二区| 中文字幕一区在线观看视频| 久久久久99精品一区| 精品福利av导航| 在线亚洲免费视频| 欧美又粗又大又爽| 91美女蜜桃在线| 91福利精品视频| 欧美在线一二三| www.欧美日韩| 不卡在线观看av| 久久尤物电影视频在线观看| 欧美妇女性影城| 欧美一区二区三区在线视频| 91精品欧美久久久久久动漫| 911精品国产一区二区在线| 欧美精品九九99久久| 欧美久久一二区| 欧美三级在线播放| 91精品欧美一区二区三区综合在| 欧美区在线观看| 日韩午夜三级在线| 日韩视频123| 午夜激情综合网| 蜜桃av一区二区| 成人免费视频播放| 欧美日本在线看| 国产欧美精品国产国产专区| 自拍偷自拍亚洲精品播放| 日韩高清中文字幕一区| 高清在线观看日韩| 欧美精品1区2区| 欧美国产成人精品| 天天影视网天天综合色在线播放| 国产在线视频精品一区| 色婷婷国产精品综合在线观看| 9191精品国产综合久久久久久| 国产欧美久久久精品影院| 五月天国产精品| 成人激情文学综合网| 91精品国产一区二区三区蜜臀 | 久久嫩草精品久久久精品一| 亚洲女性喷水在线观看一区| 久久激情五月婷婷| 91极品视觉盛宴| 中文av一区二区| 久久成人18免费观看| 日本乱人伦一区| 国产精品不卡视频| 经典三级一区二区| 欧美午夜片在线看| 国产精品久久久久久户外露出| thepron国产精品| 精品乱人伦一区二区三区| 一区二区三区高清在线| 国产999精品久久| 欧美大片在线观看| 婷婷久久综合九色综合伊人色| 91天堂素人约啪| 国产精品日日摸夜夜摸av| 激情五月激情综合网| 欧美日韩国产美女| 亚洲乱码精品一二三四区日韩在线| 激情欧美一区二区| 日韩午夜在线观看| 视频一区二区三区入口| 91久久奴性调教| 亚洲精品乱码久久久久久久久 | 精品一二三四区| 日韩一区二区免费视频| 亚洲一区二区黄色| 色婷婷狠狠综合| 亚洲欧美一区二区三区孕妇| jlzzjlzz亚洲日本少妇| 国产色综合久久| 国产成人无遮挡在线视频| 久久亚洲影视婷婷| 国产一区二区0| 久久久久久久网| 处破女av一区二区| 国产亚洲欧美日韩俺去了| 国产精品中文欧美| 国产无人区一区二区三区| 国产99精品国产| 国产精品麻豆欧美日韩ww| 成人av网站在线| 亚洲视频一区在线观看| 色综合久久六月婷婷中文字幕| 亚洲欧美一区二区三区极速播放| www.欧美日韩国产在线| 亚洲人一二三区| 色噜噜久久综合| 亚洲国产欧美日韩另类综合 | 欧美精品亚洲二区| 免费成人小视频| 精品久久久久99| 成人性生交大合| 亚洲精品乱码久久久久久久久| 在线免费观看日本欧美| 日韩精品一卡二卡三卡四卡无卡| 日韩一级黄色片| 国产综合成人久久大片91| 国产精品视频在线看| 久久久久国产精品免费免费搜索| 国产精品一区在线观看你懂的| 国产香蕉久久精品综合网| 99在线视频精品| 亚洲地区一二三色| 精品va天堂亚洲国产| 成人黄色av电影| 亚洲福利一二三区| 2020国产精品| 91色九色蝌蚪| 日韩精品亚洲专区| 中文子幕无线码一区tr| 欧美性生活大片视频|