반응형
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Source
{
class Program
{
static void Main(string[] args)
{
DateTime chrismas = new DateTime(2016, 12, 25, 00, 00, 00);//크리스마스
TimeSpan result = chrismas - DateTime.Now;
Console.WriteLine("{0:N0}", result.TotalDays);
}
}
}
반응형