Home How To Online Documentation Support Download Order
 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SADateTime::Fraction

unsigned long &Fraction();

unsigned long Fraction ( ) const;

Returns the fraction part of the second represented by the value of this SADateTime object.

Return value

First overload returns a reference to the fraction part of the second represented by the value of this SADateTime object. You can modify this value directly.

Second overload returns a value of the fraction part of the second which is copied from this SADateTime object.

Remarks

The value of the fraction field is the number of billionths of a second and ranges from 0 through 999,999,999 (1 less than 1 billion). For example, the value of the fraction field for a half-second is 500,000,000, for a thousandth of a second (one millisecond) is 1,000,000, for a millionth of a second (one microsecond) is 1,000, and for a billionth of a second (one nanosecond) is 1.

See also

GetYear,GetMonth, GetDay, GetHour, GetMinute, GetSecond, GetDayOfWeek, GetDayOfYear

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.