G
genc ymeri
Hi I have DateTime1 and DateTime2.
How can I tell what is the difference in millisecons between them ?
Thank You.
How can I tell what is the difference in millisecons between them ?
Thank You.
genc ymeri said:I had trouble using that command. "compile error "denote class".....not in
that context,,,,,"
Any sample how to use it please ?
Thanks a lot !
genc ymeri said:Hi I have DateTime1 and DateTime2.
How can I tell what is the difference in millisecons between them ?
Jon Skeet said:You can get the TimeSpan just by doing:
TimeSpan diff = DateTime2-DateTime1;
After that, there are various properties of TimeSpan you can use,
including TotalMilliseconds.