Welcome Guest ( Log In | Register )


 
Reply to this topicNew Topic
Daylight Savings Time - G.I. "Server Time", Reports/Monitors using gmt - x hours
JayWilliamson@su...
post Nov 2 2009, 05:25 PM
Post #1


Visitor
*

Group: Members
Posts: 7
Joined: 20-January 09
Member No.: 294


We don't have sentinel yet so I have some reports and monitors written in Oracle pl/sql that select infomation from the G.I. tables. In those reports/monitors I use the (gmt - x hours) value which changes between gmt-5 and gmt-6 depending on if it is daylight savings time or not. Any ideas if G.I. stores the 'Server's time zone' either in the database or in some config file that I could make use of to populate my variable that holds the (gmt - x hours) value in my select statements? This would save me the time of creating a one-off solution to automate the DST change twice a year rather than having someone change the (gmt - 5 to gmt - 6). Thanks for any suggestions! Jay Williamson
Go to the top of the page
 
+Quote Post
JayWilliamson@su...
post Nov 2 2009, 06:15 PM
Post #2


Visitor
*

Group: Members
Posts: 7
Joined: 20-January 09
Member No.: 294


QUOTE (JayWilliamson@supervalu @ Nov 2 2009, 11:25 AM) *
We don't have sentinel yet so I have some reports and monitors written in Oracle pl/sql that select infomation from the G.I. tables. In those reports/monitors I use the (gmt - x hours) value which changes between gmt-5 and gmt-6 depending on if it is daylight savings time or not. Any ideas if G.I. stores the 'Server's time zone' either in the database or in some config file that I could make use of to populate my variable that holds the (gmt - x hours) value in my select statements? This would save me the time of creating a one-off solution to automate the DST change twice a year rather than having someone change the (gmt - 5 to gmt - 6). Thanks for any suggestions! Jay Williamson


Ignore my inquiry - with a little research I was able to find a command on the Oracle database (SELECT dbtimezone FROM dual) that returns the current DST/UTC offset that I can use in my reports/monitors. Thanks anyway, Jay
Go to the top of the page
 
+Quote Post
GuitarCrazyo
post Nov 5 2009, 04:48 PM
Post #3


Visitor
*

Group: Members
Posts: 5
Joined: 25-October 09
From: US
Member No.: 806


Definitely change it back to standard time year-round. Most places at our latitude dont observe DST anyways in the Caribbean, Africa, Asia, and Australia.
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Skin designed by IPB Forum Skins