![]()
}
如取得当前日期所在周的周一为:CalculateFirstDateOfWeek(System.DateTime.Now)
其他的(计算月份,天数等):
string strDate = Convert.ToDateTime(strStart).AddMonths(+1).ToShortDateString();
strDate = Convert.ToDateTime(strEnd).AddDays(-1).ToShortDateString();
如今天是2007/10/9,那么strDate的值就是2007/10/31.
相关文章:
-
2021-08-14
-
2022-12-23
-
2022-12-23
-
2021-07-17
-
2022-12-23
-
2021-07-20
-
2022-01-06
-
2022-12-23
猜你喜欢
-
2021-09-18
-
2021-11-17
-
2021-11-15
-
2021-11-18
-
2021-12-09
-
2022-12-23
相关资源
-
下载
2023-01-22
-
下载
2023-02-23
-
下载
2023-01-20
-
下载
2021-06-05