I know this has been beaten to death God knows how many times... but follow me here.
We use the following code:
Which give me a -7 for my local timezone with is correct (I add the *-1 because it is my timezone).
Note:
So wouldn't it stand to reason that the following:
Would give me my server GMT (which is +3).
But, I get a +2. Now I'm trying to figure out is why.
Anyone got any ideas?
We use the following code:
Inserted Code
int GMTOffset=TimeGMTOffset()/60/60; Print("GMT Offset local: ",GMTOffset*-1);
Note:
Inserted Code
TimeGMTOffset() = TimeGMT() - TimeLocal()
So wouldn't it stand to reason that the following:
Inserted Code
int serverHour=(TimeGMT()-TimeCurrent())/60/60; Print("Local hour: ",serverHour);
But, I get a +2. Now I'm trying to figure out is why.
Anyone got any ideas?