I'm using QuickFIX/C++ and I want to convert MDEntryTime field, which is UtcTimeOnly object, to milliseconds.
FIX::UtcTimeOnly to;
std::cout <<static_cast<unsigned long>(to.getTimeT());
this gives incorrect values. This same approach works work UtcTimeStamp objects.
what's wrong with it?