Get Total Microseconds - CSharp System

CSharp examples for System:DateTime Second

Description

Get Total Microseconds

Demo Code


using System;// w  ww.  j a v a 2  s . c om

public class Main{
        /// <summary>
	/// 
	/// </summary>
	/// <param name="DateTime"></param>
	/// <returns></returns>
	public static long GetTotalMicroseconds(this DateTime DateTime)
	{
		return DateTime.Ticks / 10;
	}
}

Related Tutorials