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