C#
int 這個月的天數 = DateTime.DaysInMonth(年,月);

VB
Dim 這個月的天數 As Integer = DateTime.DaysInMonth(年,月)


arrow
arrow
    文章標籤
    c# vb
    全站熱搜

    伊 發表在 痞客邦 留言(0) 人氣()