I am trying to convert the current time (system time) in to milliseconds ...is there any inbuilt functions i can use to solve this easily .
For example i have used the following code to get the time and display it.
System.Diagnostics.Debug.WriteLine("Time "+ String.Format("{0:mm:ss.fff}",DateTime.Now));
The output i get is
Time 36:50.527
as in minutes:seconds.milliseconds
I need to convert the time i got now in to Milliseconds.