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

📄 datetime_operator_double.html

📁 能够连接各种数据库的API
💻 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::operator double</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>&nbsp;

<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>
				<tr>
					<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12">
					<A href="Numeric.html" style ="TEXT-DECORATION: none" >
					<font color=white size=2 face=sans-serif>
					SANumeric</A> </FONT> </td>
				</tr>
				<tr><td><hr></td></tr>
				<tr>
					<td>
					<A href="Enums.html" style ="TEXT-DECORATION: none" >
					<font color=white size=2 face=sans-serif>
					Enums and Typedefs</A> </FONT> </td>
				</tr>
			</table>
		</td><!--empty column-->
		<td width="20"> 
			<p>&nbsp;&nbsp;</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.html" style="TEXT-DECORATION: none"><h3>Class Members</h3></A>
					</td>
					<td align="left"><A href="DateTime_Examples.html#operator_double" style="TEXT-DECORATION: none"><h3>Examples</h3></A>
					</td>
				</tr>			
				<tr>
					<td colspan="3"><h1> SADateTime::operator 
                double</h1></td>
				</tr>			
			</table>

			<p><font face="Arial"><b><font face="Arial"><b>  operator&nbsp; double 
            (</b> 
            <b> )   
            const;</b></font>      
            </b></font></p>

			<p>Returns the current value of 
            <STRONG>SADateTime</STRONG> object as <STRONG> double</STRONG> (<STRONG>DATE</STRONG> data 
            type in            
            Windows). 
			</p>
            <h3>Return value</h3>

			<p>  Operator returns double value 
            which is calculated from this <STRONG>SADateTime</STRONG>      
                  
            object. 
			</p>

			<h3>Remarks</h3>
			<p>Use these operators to get current 
            date/time value using standard <STRONG> double</STRONG> 
            representation. Days are represented by whole number increments 
            starting with 30 December 1899, midnight as time zero. Hour values 
            are expressed as the absolute value of the fractional part of the      
                  
                      
             
                      
                       
              
                   number. 
			</p>
			<p>
            <TABLE border=1 cellPadding=5 cols=2 frame=below rules=rows>
                
                <TR vAlign=top>
                    <TD class=label width=50%><B>Date and time</B></TD>
                    <TD class=label width=50%><B>Representation</B></TD></TR>
                <TR vAlign=top>
                    <TD width=50%>30 December 1899, midnight</TD>
                    <TD width=50%>0.00</TD></TR>
                <TR vAlign=top>
                    <TD width=50%>1 January 1900, midnight</TD>
                    <TD width=50%>2.00</TD></TR>
                <TR vAlign=top>
                    <TD width=50%>4 January 1900, midnight</TD>
                    <TD width=50%>5.00</TD></TR>
                <TR vAlign=top>
                    <TD width=50%>4 January 1900, 6 A.M.</TD>
                    <TD width=50%>5.25</TD></TR>
                <TR vAlign=top>
                    <TD width=50%>4 January 1900, noon</TD>
                    <TD width=50%>5.50</TD></TR>
                <TR vAlign=top>
                    <TD width=50%>4 January 1900, 9 P.M.</TD>
                    <TD width=50%>5.875</TD></TR></TABLE>      
                  
                      
             
                      
                       
              
                    
			</p>
			
			<h3> Specific notes</h3>
            <p>Win32 platform: date/time format in a 
            <STRONG>double</STRONG> is exactly the same as used by 
            <STRONG>DATE</STRONG> data type.</p>

			<h3>Problems and Questions</h3>
			<p>			If 
			you haven't found the answer to your questions or 
            have some problems on using the Library, please, send e-mail to <A href="mailto:howto@sqlapi.com">howto@sqlapi.com</A>.
			</p>
		</td>
	<tr></tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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