Currently, i have an application that does logging of messages into a text file and i record the timing for the messages in a [hh:mm:ss] format. However, i need to log the messages up to millisec level and the struct tm i am using now only support up to sec, is there any other way to get millisec?