Time indicator displays a broker time and local computer time on the chart. The display can be zoomed using the ZoomLevel setting and can also be horizontally repositioned using the DistanceFromTopLeft setting.
https://www.mql5.com/en/code/11076
https://www.mql5.com/en/code/11076