铁血的奥尔芬斯布米米:vb 编程题?请指教

来源:百度文库 编辑:中科新闻网 时间:2024/05/09 19:58:41
题目:
输入月和日,计算这天是一年的第几天.

谢谢!!!!!!!!!!!!!!

Private Sub Form_Click()
m = InputBox("Input month.")
d = InputBox("Input day.")
MsgBox "The day is the " & Format("2006-" & m & "-" & d, "y") & " day of this year."
End Sub