Tukang Online
 
Blognya Orang Djember, Semoga Bermanfaat.....


Sunday, January 3, 2010

membuat fungsi hari dlm vb 6.0

Private Function NamaHari()
Dim BilHari As Integer
BilHari = Weekday(Date)
Select Case BilHari
Case 1NamaHari = “MINGGU”
Case 2NamaHari = “SENIN”
Case 3NamaHari = “SELASA”
Case 4NamaHari = “RABU”
Case 5NamaHari = “KAMIS”
Case 6NamaHari = “JUMAT”
Case 7NamaHari = “SABTU”
End Select
End Function

0 comments:

Post a Comment

Gabung Dunkz

Daftar Isi Blog


Anda adalah pengunjung ke :

Counter Powered by  RedCounter