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)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Kindly teach me how to set date & time to New York Time?
Regards
Tony