Marina Giunta <giunta_at_mail.cern.ch> writes:
> The problem is that in the plot the year displayed is 2030
> instead of 2005 (day and month are OK)!
I had the same problem recently. It was resolved in this thread:
http://root.cern.ch/root/roottalk/roottalk05/0474.html
Summary: add this line:
gStyle->SetTimeOffset(0);
> Second question: the date I get from the Oracle db is in GMT, I'd like to
> have the local time displayed on the plot. How can I convert the values?
A kludge which might even work would be to use the above SetTimeOffset() but with the delta between GMT and whatever timezone you want. But, there must be a better way....
-Brett. Received on Wed Apr 27 2005 - 16:19:21 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET