Private Function DayCount(d As Date) As Integer
DayCount = Day(DateSerial(Year(d), Month(d) + 1, 0))
End Function
Private Sub Command3_Click()
MsgBox DayCount(#2/2/2008#)
End Sub
Sunday, June 17, 2012
Memperoleh Jumlah Hari Dari Bulan Yang Ditentukan
Labels:
Date And Time