What database are you using? I know in Oracle you can specify the time zone by the function new_time.
In ORACLE this:
select
sysdate,
new_time(sysdate, 'CDT', 'PST') timezone
from dual
I need this in Cognos Reports of Cognos 8 version. You are right that new_time function could be achieved in oracle.
My requirement is the default time that displays should automatically fetch the current system time and subtract 1 hour and display. The requirement is in cognos reports.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.