MQL4 - automated forex trading   /  

Forum

How to set date & time to New York Time

Back to topics list To post a new topic, please log in or register

avatar
3
TonyChan 2006.05.26 05:09 
Hi,

Kindly teach me how to set date & time to New York Time?

Regards
Tony
Strings: Table of ASCII Symbols and Its Use

Strings: Table of ASCII Symbols and Its Use

In this article we will analyze the table of ASCII symbols and the ways it can be used. We will also deal with some new functions, the principle of operation of which is based on the peculiarities of the ASCII table, and then we will create a new library, which will include these functions. They are quite popular in other programming languages, but they are not included into the list of built-in functions. Besides, we will examine in details the basics of working with strings. So, I think you will certainly learn something new about this useful type of data.


avatar
Moderator
2824
Tatyana 2006.05.26 17:38 
Only broker on server side can adjust time zone. You cannot change time zone using client terminal.

avatar
2077
vixenme 2006.05.31 08:13 

compare the different between server time and NY time in hour(s) then

get the curtime() function , this result in seconds

add the curtime() with the different hour(s) in seconds

ie. server time is gmt+1 and you are in gmt+4 then
the different between you and server is 3 hours or 3*60*60 seconds
then your time is curtime()+(3*60*60)

Back to topics list  

To add comments, please log in or register