📜  vba 时间戳 -- 毫秒 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:55.834000             🧑  作者: Mango

代码示例1
Public Function TimeInMS() As String

'The error is +/- 15 ms
TimeInMS = Strings.Format(Now, "dd-MMM-yyyy HH:nn:ss") & "." _ 
& Strings.Right(Strings.Format(Timer, "#0.00"), 2)

End Function