⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datetime.html

📁 通用的数据库中间库
💻 HTML
字号:
<html><head><meta name="KEYWORDS" content="      library, C++,       Oracle, SQLServer, DB2, Sybase, Informix, InterBase, SQLBase, ODBC, 
      SQL, server, client, database, programming, development, software, 
      Win32, Windows, Linux, Unix, Solaris,
      Microsoft, Borland, Centura, Gupta, IBM"><meta name="DESCRIPTION" content=
"SQLAPI++ is C++ library for accessing SQL databases (Oracle, SQLServer, Sybase, DB2, InterBase, SQLBase, Informix, ODBC).
It uses native APIs, provides low-level access to database-specific features."><title>SQLAPI++ Library - Online Documentation - SADateTime</title></head><body bgcolor="#ffffff" BACKGROUND="../images/bg.gif" text="#000000"><!--GlbHdr--> <table WIDTH="600" height="40" frame="hsides" BORDER="2" BORDERCOLOR="#004fcd" align="right" cellpadding="0" cellspacing="2" id="TABLE1">
    
    <tr><!--class="GlbDefault"-->        
        <td width="70" bgcolor="#000094" bordercolor="black" align="middle"><A href="../index.html" style="TEXT-DECORATION: none">
			<font color="white" size="3" face="sans-serif">
			<b>Home</b></font></A></td></TD>
        <td width="70" bgcolor="#000094" bordercolor="black" align="middle"><A href="../HowTo/index.html" style="TEXT-DECORATION: none">			<font color="white" size="3" face="sans-serif">
			<b>How To</b></font></A></td><!--class="GlbActive"-->
        <td width="70" bgcolor="#00bb00" bordercolor="black" align="middle"><A href="index.html" style="TEXT-DECORATION: none">			<font color="white" size="3" face="sans-serif">
			<b>Online Documentation</b></font></A></td><!--class="GlbDefault"-->        
		<td width="70" bgcolor="#000094" bordercolor="black" align="middle"><A href="../Support/index.html" style="TEXT-DECORATION: none">			<font color="white" size="3" face="sans-serif">
			<b>Support</b></font></A></td>
        <td width=70 bgcolor=#000094 bordercolor=black align=middle><A href="../Download/index.html" style="TEXT-DECORATION: none" >
			<font color=white size=3  
            face=sans-serif>
			<b>Download</b></font></A></td>
        <td width="70" bgcolor="#000094" bordercolor="black" align="middle"><A href="../Order/index.html" style="TEXT-DECORATION: none">			<font color="white" size="3" face="sans-serif">
			<b>Order</b></font></A></td>    </tr>
</table>

<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="100%">
	<tr>
		<td valign="top" width="165"><!--LeftMenu-->			
			<table frame="void" CELLSPACING="5" width="165">
				<tr><td><p>&nbsp;</p></td>
				</tr>
				<tr>
					<td><img align="middle" src="../images/green.gif" 
                        WIDTH="12" HEIGHT="12" 
                       ><A href="Command.html" style="TEXT-DECORATION: none">
					<font color="white" size="2" face="sans-serif">
					SACommand</A> </FONT> </td>
				</tr>
				<tr>
					<td><img align="middle" src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Connection.html" style="TEXT-DECORATION: none">
					<font color="white" size="2" face="sans-serif">
					SAConnection</A> </FONT> </td>
				</tr>
				<tr>
					<td><img align="middle" src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Exception.html" style="TEXT-DECORATION: none">
					<font color="white" size="2" face="sans-serif">
					SAException</font></A> </td>
				</tr>
				<tr>
					<td><img align="middle" src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Field.html" style="TEXT-DECORATION: none">
					<font color="white" size="2" face="sans-serif">
					SAField</A> </FONT> </td>
				</tr>
				<tr>
					<td><img align="middle" src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Param.html" style="TEXT-DECORATION: none">
					<font color="white" size="2" face="sans-serif">
					SAParam</A> </FONT> </td>
				</tr>
				<tr><td><hr></td></tr>
				<tr>
					<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12">
					<A href="String.html" style ="TEXT-DECORATION: none" >
					<font color=white size=2 face=sans-serif>
					SAString</A> </FONT> </td>
				</tr>
				<tr>
					<td><img align=middle src="../images/red.gif" WIDTH="12" HEIGHT="12">
					<A href="DateTime.html" style ="TEXT-DECORATION: none" >
					<font color=white size=2 face=sans-serif>
					SADateTime</A> </FONT> </td>
				</tr>
			</table>
		</td><!--empty column-->
		<td width="20"> 
			<p>  </p>
		</td><!--Content-->
		<td valign="top" align="left">
			<table width="100%" cellspacing="2" cellpadding="2">
				<tr>
					<td align="left"><A href="DateTime_Usage.html" style="TEXT-DECORATION: none"><h3>Usage</h3></A>
					</td>
					<td align="left"><A href="DateTime_Examples.html" style="TEXT-DECORATION: none"><h3>Examples</h3></A>
					</td>
				</tr>			
				<tr>
					<td colspan="2"><h1>SADateTime</h1></td>
				</tr>			
			</table>
			
			<h3>Construction / Destruction</h3>
			<table width="100%" cellspacing="2" cellpadding="10">				
				<tr>
					<td width="30%" valign="top"><A href="DateTime_cnstr.html">
					<font face="Arial" size="3">
					SADateTime</font></A></td>
					<td> <font face="Arial" size="3">
					Constructs a <b>SADateTime</b> object</font></td>
				</tr>
				<tr><td colspan="2"><hr></td></tr>
			</table>
			
			<h3>Methods</h3>
			<table width="100%" cellspacing="2" cellpadding="10">
                <TR>
                    <TD vAlign=top width=30%><FONT face=Arial><A 
                        href="DateTime_GetYear.html">GetYear</A></FONT>
                    <TD><FONT face=Arial>Returns the year this <STRONG>SADateTime</STRONG>     
                        object represents.</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT 
                        face=Arial><A 
                        href="DateTime_GetMonth.html">GetMonth</A></FONT>
                    <TD><FONT face=Arial>Returns the month this <STRONG>SADateTime</STRONG>     
                        object represents (1 &ndash; 12).</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT face=Arial><A 
                        href="DateTime_GetDay.html">GetDay</A></FONT>
                    <TD><FONT face=Arial>Returns the day this <STRONG>SADateTime</STRONG>     
                        object represents (1 &ndash; 31).</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT face=Arial><A 
                        href="DateTime_GetHour.html">GetHour</A></FONT>
                    <TD><FONT face=Arial>Returns the hour this <STRONG>SADateTime</STRONG>     
                        object represents (0 &ndash; 23).</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT 
                        face=Arial><A 
                        href="DateTime_GetMinute.html">GetMinute</A></FONT>
                    <TD><FONT face=Arial>Returns the minute this 
                        <STRONG>SADateTime</STRONG>    
                         object represents (0 &ndash; 59).</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT 
                        face=Arial><A 
                        href="DateTime_GetSecond.html">GetSecond</A></FONT>
                    <TD><FONT face=Arial>Returns the second this 
                        <STRONG>SADateTime</STRONG>    
                         object represents (0 &ndash; 59).</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT 
                        face=Arial><A 
                        href="DateTime_GetDayOfWeek.html">GetDayOfWeek</A></FONT>
                    <TD><FONT face=Arial>Returns the day of the week this 
                        <STRONG>SADateTime</STRONG> object represents (Sunday =       
                             1).</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT 
                        face=Arial><A 
                        href="DateTime_GetDayOfYear.html">GetDayOfYear</A></FONT>
                    <TD><FONT face=Arial>Returns the day of the year this 
                        <STRONG>SADateTime</STRONG> object represents (Jan 1 =       
                              1).</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT 
                        face=Arial><A 
                        href="DateTime_Fraction.html">Fraction</A></FONT>
                    <TD><FONT face=Arial>Returns the value of the fraction of second (0 to 
                        999,999,999) this <STRONG>SADateTime</STRONG>      
                          object represents.</FONT>
                <TR>
                    <TD vAlign=top width=30%><FONT 
                        face=Arial><A 
                        href="DateTime_GetCurrentTime.html">GetCurrentTime</A></FONT>
                    <TD><FONT face=Arial>Creates a <B>SADateTime</B> object that represents 
                        the current time (static      
                          member function).</FONT>
				<tr><td colspan="2"><hr></td></tr>
			</table>
				
			<H3>Operators</H3>
			<table width="100%" cellspacing="2" cellpadding="10">
                <TR>
                    <TD vAlign=top width=30%><A href="DateTime_operator_struct_tm.html">
					<font face="Arial">
					operator struct 
					tm </font></A>
                    <TD><font face="Arial" size="3"><font face="Arial" size="3"><FONT face=Arial>This operator returns a <B>struct 
                        tm</B> object whose value is copied from this 
                        <B>SADateTime</B>          
                        object.</FONT> 
                        </font> 
                        </font>
				<tr>
					<td width="30%" valign="top"><A href="DateTime_operator_double.html">
					<font face="Arial">
					operator 
					double </font></A></td>
					<td><font face="Arial" size="3"><font face="Arial" size="3"><FONT face=Arial>This operator returns a <B>double (DATE in 
                        Windows)</B> value whose value is calculated from this 
                        <B>SADateTime</B>          
                        object.</FONT> 
                        </font> 
                        </font></td>
				</tr>
				<tr><td colspan="2"><hr></td></tr>
			</table>
		</td>
	<tr></tr>
</table>
</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -