phuc_thanhtien > 14-04-16, 04:07 PM
quan_pc > 14-04-16, 11:44 PM
phuc_thanhtien > 15-04-16, 10:26 AM
quan_pc > 15-04-16, 04:50 PM
phuc_thanhtien > 15-04-16, 09:39 PM
ongke0711 > 16-04-16, 01:09 PM
Private Sub Command17_Click()
Dim q As Byte, m As Byte, y As Integer, thu As String, h As Byte
q = Val(txtq.Value)
m = Val(txtm.Value)
y = Val(txty.Value)
h = Weekday(DateSerial(y, m, q))
Select Case h
Case 1
thu = "chu nhat"
Case 2
thu = "thu 2"
Case 3
thu = "thu 3"
Case 4
thu = "thu 4"
Case 5
thu = "thu 5"
Case 6
thu = "thu 6"
Case 7
thu = "thu 7"
End Select
MsgBox "Ban sinh vao " & thu
End Sub
phuc_thanhtien > 16-04-16, 01:57 PM
phuc_thanhtien > 17-04-16, 02:00 PM
thiennamlong > 18-04-16, 06:01 PM