To get the current time in milliseconds try
VB Code:
  1. Private Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)
  2.  
  3. Private Type SYSTEMTIME
  4.     wYear As Integer
  5.     wMonth As Integer
  6.     wDayOfWeek As Integer
  7.     wDay As Integer
  8.     wHour As Integer
  9.     wMinute As Integer
  10.     wSecond As Integer
  11.     wMilliseconds As Integer
  12. End Type
  13.  
  14. Private Function TimeToMillisecond() As String
  15.    
  16.     Dim DaAnswer As String
  17.     Dim MyMillTime As SYSTEMTIME
  18.    
  19.     On Error Resume Next
  20.     GetSystemTime MyMillTime
  21.     DaAnswer = Hour(Now) & ":" & Minute(Now) & ":" & Second(Now) & ":" & MyMillTime.wMilliseconds
  22.     TimeToMillisecond = DaAnswer
  23.    
  24. End Function
I'm a little confused after this however. ??You want to get the current time in milliseconds, convert it to "something else" and then convert is back??