How to find difference in hours between London Open or GMT and Broker Server time?

 

i really need to know :

How to find difference in hours between London Open or GMT and Broker Server time?

 
  1. London opens 8AM London time but London time is NOT GMT. In the summer it's BST.  GMT has no DST.
  2. In windows 8 you can ask for London time given GMT. (In windows 7 you can only get current London time)
  3. int diff = TimeGMT() - TimeCurrent();  Does not work in tester mode, must use constant TZ different and adjust for Broker DST (if any.)
 
datetime  GMT=TimeGMT();

I get following error:

'TimeGMT' - function is not defined

Is TimeGMT is standard function or must write custom function?

Reason: