Time Span To Value - CSharp System

CSharp examples for System:TimeSpan

Description

Time Span To Value

Demo Code


using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;/*  w  w w.  j  a  va 2s  . c o  m*/

public class Main{
        public static double TimeSpanToValue(TimeSpan span)
        {
            return span.TotalSeconds;
        }
}

Related Tutorials