StrToTime problem New comment Forex Trader 2007.03.01 06:33 GIVEN: Computer's Time is 28 Feb 2007, 22:xx (synchronized to a world time) Server's Time is same GMT+0 is already 1 Mar 2007, 03:xx What I have was something like this: string goTime = "22:30"; int _goTime = StrToTime(goTime); What will _goTime be? My code is giving out _goTime = Mar1 22:30 instead of my desired Feb 28 22:30 Is it because that StrToTime takes in the Date of GMT+0 being Mar 1 already as again Feb 28 - the date of my computer? Something wrong with StrToTime Help to correct the source code by trading 2 different time session MT4 Coding HELP!!!! New comment
Computer's Time is 28 Feb 2007, 22:xx (synchronized to a world time)
Server's Time is same
GMT+0 is already 1 Mar 2007, 03:xx
What I have was something like this:
What will _goTime be?
My code is giving out _goTime = Mar1 22:30 instead of my desired Feb 28 22:30
Is it because that StrToTime takes in the Date of GMT+0 being Mar 1 already as again Feb 28 - the date of my computer?