📄 rfx_date_alternative.shtml
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Zafir Anjum">
<TITLE>Database - RFX_Date alternative</TITLE>
</HEAD>
<body background="../fancyhome/back.gif" bgcolor="#FFFFFF" link="#B50029" vlink="#8E2323" alink="#FF0000" bgproperties="fixed">
<table WIDTH="100%">
<tr WIDTH="100%">
<td align=center><!--#exec cgi="/cgi/ads.cgi"--><td>
</tr>
</table>
<CENTER>
<H3>
<FONT COLOR="#AOAO99">RFX_Date alternative</FONT></H3></CENTER>
<CENTER>
<H3><HR></H3></CENTER>
<p>This article was contributed by <a href="mailto:jasiek@writeme.com">Jarek Jaskolski</a>. In an earlier
article Claude Turner has pointed out that RFX_Date does not handle invalid dates properly. This code
is basically a replacement for RFX_Date that can handle invalid dates but still has the limitation that
it can handle the year upto 2038 only.
<P>In the topic: "Database Programming"-'look subject of the message' there
is the remark to do not use CTime (its true), but TIMESTAMP_STRUCT (not
an object) in Access ODBC programming instead.
In my programs I use COleDateTime (prima!), and just the following code
must be supported to handle field exchange:
<PRE><TT><FONT COLOR="#990000">
void RFX_DateTime( CFieldExchange* pFX,
牋牋
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -