CSharp examples for System:DateTime Timestamp
Current Time Micros
using System.Runtime.InteropServices; using System;/*from w w w.java 2 s. c o m*/ public class Main{ public static long CurrentTimeMicros() { //return HighResTicksProvider.GetTickCount () / 10L; // it's microsecond precise return DateTime.Now.Ticks/10L; // it's millisecond precise } }