How to convert server to local time frame?

 
How to convert server to local time frame?
 

TimeLocal() gives you the local time of your computer

TimeCurrent() gives you the *last known* server time 

 

if you mean that the chart will show your local time, you have 2 choices

1) change to a broker who use your local time

2) offline charts

Reason: