Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : TIME-SOURCE attribute
 

TIME-SOURCE attribute

Specifies the client or database server machine that serves as the time source for applications running during the ABL session.
Data type: CHARACTER
Access: Readable/Writeable
Applies to: SESSION system handle
TIME-SOURCE accepts either of the following settings:
*"local" or the null string ("") — Your application uses the client machine as its time source. The default value is "local".
*"dbname" — Your application uses the machine running the server for the database with the name dbname as its time source.
All language elements that involve the current time, such as the MTIME, NOW, TIME, TIMEZONE, and TODAY functions, use the specified time source. This attribute is useful for client/server applications that span time zones.

Notes

*If the TIME-SOURCE attribute is set to a value other than "local" or the null string (""), then the SESSION:TIMEZONE attribute is ignored for the functions described above.