SQL clock classes

SQL clock classes extend the core clock classes by specifying a time base. For more information about the core clock classes, see Chapter 6,"Time services", in OS Services.

SQL clock classes are intended to provide a common context for transferring data between applications. Standard business computing practices distinguish these time measurement contexts:

For more detailed information about an individual class or its member functions, refer to the class and member function descriptions available online.

TSQLDate is a concrete class based on a reference date of March 1, 2000. Time is measured in seconds from the reference date. Dates earlier than the reference date are negative. Later dates are positive. Use instances of TSQLDate with appointments, calendars, or in any other client context that demands a time based on the reference date.

TSQLTime is a concrete class based on a reference time of midnight. Time is measured in seconds from the reference time. Use instances of TSQLTime for alarms, or in any other client context that demands a time based on the reference time.

TSQLTimestamp is a concrete class that extends TSQLDate by adding accuracy to the picosecond. Use instances of this class in contexts demanding extremely accurate time measurements.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker