living in my life (史蘭諾系統整合服務)
2012年7月12日 星期四
[C#]使用 DateTime.DayInMonth 取得N年N月的天數(N made several days in the month with N DateTime.DaysInMonth)
問題
使用 DateTime.DayInMonth 取得N年N月的天數
解決方法
int monthofday = System.DateTime.DaysInMonth(2012, 01);
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言