Setting a session's timestamp
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Setting a session's timestamp
To record a session's time information, you have to set its timestamp. Oracle
DataServer enables you to select the timestamp using the -Dsrv connection
parameter switch, SESSION:TIME-SOURCE.
The following table describes the SESSION:TIME-SOURCE switch:
| Switch | Description |
|---|---|
|
Specifies the system timestamp for the session |
|
Specifies the database timestamp for the session |
|
Specifies the UTC timestamp for the session |
|
Specifies the timezone timestamp for the session |
The following code would set the system timestamp for a session
using the -Dsrv connection parameter:
|
The following example would set the timezone timestamp for the
session using the -Dsrv connection parameter to
+5:30:
|