I'm having a problem with BrokerTime. The time from IB is in UNIX time and that's what I'm returning in the pTimeGMT parameter of BrokerTime. However ZT says:
"Login.. at GMTInvalid DateTime"
The IB API provides this time in a long which I'm casting to the double parameter like this: