View Full Version : How can I get the Time or GMT settings of the Vertex Client

06-19-2014, 01:04 AM
I want to compare the time of an open trade with the current time to know how much time a trade has been active.
I realize that the time stored in the trade gotten by GetPositionTime() is obtained from the Vertex Client time. But all the functions to obtain the current time are refered to the server time (CurTime(), GetTime, ServerGMT()), so I can't compare them to the Trade's open time. There is also TimeLocal(), but this function return the time of my PC's OS, which is different from the Vertex Client time.
Is there a function to get time of Vertex Client, or at least the GMT of the Client?


06-19-2014, 07:29 AM

You're right, this features (Client Time & Client GMT) have been developed and will be available in next patch, but now you can make it as user defined variable.

Thanks for your post.