CSharp examples for System:DateTime Timestamp
Get Time Stamp
using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;/*from w ww . j av a2s . com*/ public class Main{ public static string GetTimeStamp(this DateTime value) { return value.ToString("yyyyMMddHHmmssfff"); } }