DateTime.Now.Subtract(someOtherTime).TotalMilliseconds
-Brock
DevelopMentor
http://staff.develop.com/ballen
> how to get the number of milliseconds between two System.DateTime
> objects
public DateTime AddMilliseconds (double ms)
ms : A double containing the number of whole and fractional milliseconds.
For example, 4.5 is equivalent to 4 milliseconds and 5,000 ticks.
The value can be negative or positive.
See :
http://taubz.for.net/code/monodocs/corlib/System/DateTime.html#member_Monofilemx
003Ammx002Fmmx002Fmmx002Fmhomemx002Fmtauberermx002Fmdevmx002Fmmonomx002Fmmonodoc
mx002Fmclassmx002Fmcorlibmx002Fmenmx002FmSystemmx002FmDateTime.xmlElementm11m8m0
m0m
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
> how to get the number of milliseconds between two System.DateTime objects