2007年4月27日 星期五

如何取得當月的總天數呢

#########如何取得當月的總天數呢 ######################


DateTime.DaysInMonth(年, 月)
例如:
DateTime.DaysInMonth(2005, 2)的值是28.

沒有留言: