TIME data is stored as a 64-bit unsigned quantity that represents a number in microseconds (in other words, 1.0e-6 seconds). Compute the microsecond quantity for a given hour, minute, second, and microsecond (usec):
binaryTimeValue = (hour * 3600 + minute * 60 + second + microsecond ) * 1000000