SYSDATE ----------- 20.10.2015 16:32:41 SQL> DBTIMEZONE SESSIONTIMEZONE ---------- --------------------------------------------------------------------------- +05:00 +05:00
select t.userid, t.ntimestamp# from SYS.AUD$ t SYSTEM 15.10.15 04:18:53,457000
In Oracle 10g - 11g, the LOGOFF$TIME is also be recorded in UTC; the aud$.logoff$time column is stored by the kernel as date/time in UTC format (however we still use a DATE datatype for it). Whenever logoff$time is queried through the audit-views (DBA_AUDIT_TRAIL) it is converted to the session timezone format using "'cast((from_tz(cast(logoff$time as timestamp),'00:00') at local) as date)".