IBPP::Time::Now() can support milliseconds
IBPP is a C++ client class library for FirebirdSQL
Status: Inactive
Brought to you by:
epocman
I am not sure for other platforms, but for MSVC the
code can be modified
.........
.........
void IBPP::Time::Now()
{
_timeb tBuf; _ftime(&tBuf);
tm* loctime = localtime(&tBuf.time);
IBPP::itot(&mTime,
loctime->tm_hour,
loctime->tm_min,
loctime->tm_sec,
tBuf.millitm * 10);
}
.........