TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
DateTime TimeCurrent ( out TmxDateTime  dt_struct)

Returns the last known server time, time of the last quote receipt for one of the symbols selected in the "Market Watch" window. In the OnTick() handler, this function returns the time of the received handled tick. In other cases (for example, call in handlers OnInit(), OnDeinit(), OnTimer() and so on) this is the time of the last quote receipt for any symbol available in the "Market Watch" window, the time shown in the title of this window. The time value is formed on a trade server and does not depend on the time settings on your computer. There are 2 variants of the function.

Parameters
dt_struct[out] TmxDateTime variable to return value
Returns
Value of DateTime type

If the TMXDateTime structure type variable has been passed as a parameter, it is filled accordingly. To arrange high-resolution counters and timers, use the GetTickCount() function, which produces values in milliseconds.