Untuk dwivindy dari aku seperti ini :
Sub JumlahTanggal()
Dim today As Date
Dim tgl As String = today.DaysInMonth(today.Year, today.Month)
Me.Label1.Text = tgl
End Sub
Procedure diatas untuk mencari jumlah hari dalam satu bulan
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Try
JumlahTanggal()
Catch ex As Exception
End Try
End Sub
Saya panggil procedurenya di page load, kurang lebih seperti itu, semoga
membantu..
Regards
Me..
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of dwivindy
Sent: 04 Januari 2008 16:39
To: [email protected]
Subject: [indoprog-vb] Hitung jumlah hari dalam 1 bulan
suhuuu toolooooooooong, ada script untuk menghitung jumlah hari dalam
satu bulan...thanks too much
[Non-text portions of this message have been removed]