using System;
class FromDaysDemo
{
static void GenTimeSpanFromDays( double days )
{
TimeSpan interval = TimeSpan.FromDays( days );
string timeInterval = interval.ToString( );
Console.WriteLine(timeInterval );
}
static void Main( )
{
GenTimeSpanFromDays( 1 );
}
}