CSharp examples for System:DateTime Convert
Date To Value
using System.Text; using System.Linq; using System.Collections.Generic; using System;/*from w w w .ja va 2 s.c om*/ public class Main{ public static double DateToValue(DateTime dateTime) { return (dateTime - Epoch).TotalSeconds; } }