|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to get milliseconds in VB
we want to get milliseconds from system time
how to get in VB We use following code , but for the first format it is giving 2 digit value and for the second format it is giving 4 digit value what is the diff and every time it shows 12 in the first formate and in 12.. in the second format what is wrong in that code MsgBox Format(Time, "HH:MM:SS:MM") & " " & Format(Time, "HH:MM:SS:Ms") Thanks |
|
#2
|
|||
|
|||
|
Hi,
did you get the answer to your question? Because I have the same question Thanks |
|
#3
|
|||
|
|||
|
Maybe it doesn't exist such function to change time to millisecond format..U can make this function yourself by some math calculate..
|
|
#4
|
|||
|
|||
Hi there and dont worry about these things the solution for u is to write that format function in this way Format(now(),"ms") Or Format(time,"ms") |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > How to get milliseconds in VB |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|