02-02-2007, 12:55 AM
I checked this out the first time you posted it and it came with that big conversion overhead - cool to see that you got rid of that!
Great post, Verrigan!
Edit: Not sure if someone has posted this, but if you want to use the format of the function returning instead of passing a variable ByRef, you can create a wrapper like so:
Its the same speed just about if you are creating a variable just to hold receive the time value. I personally use most every counter in the format of X = Time + Y, so I find this priceless. :wink:
Great post, Verrigan!
Edit: Not sure if someone has posted this, but if you want to use the format of the function returning instead of passing a variable ByRef, you can create a wrapper like so:
Code:
Public Function CurrentTime() As Currency
GetSysTimeMS CurrentTime
End Function
Its the same speed just about if you are creating a variable just to hold receive the time value. I personally use most every counter in the format of X = Time + Y, so I find this priceless. :wink: