now.ticks does not work



place this behind a button that fills a listbox.
as you will see the time is now and then 0 or filled in????????????
by hitting the button.

is there a way to determine the real elapsed time?

thanks, Willie

Dim T As Double

T = Now.Ticks

System.Threading.Thread.Sleep(3)

T = Now.Ticks - T

ListBox1.Items.Insert(0, T.ToString("0000000000000000"))


.


Loading