日期:2014-05-17 浏览次数:20415 次
int n = ( 44 - 1) * 7 + 1;
DateTime dt = Convert.ToDateTime("2013-1-1");
dt=dt.AddDays(n);
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
var result = new DateTime(2013, 1, 1).AddDays(7 * 43);
Console.WriteLine("2013年第44周是{0}~{1}", result.ToString("yyMMdd"), result.AddDays(6).ToString("yyMMdd"));
Console.ReadKey();
}
}
}