-- 作者:良才
-- 发布时间:2017/4/12 12:32:00
-- 日期段
Dim y As Integer = Date.Today.Year
Dim d As Date = Date.Today Dim dt1 As New Date(y, 5, 1) Dim dt2 As New Date(y, 11, 1) If d >= dt1 And d<=dt2 Then 这段代码错误,请指教,谢谢! e.Form.Controls("学期").text= y & "年春季" End If
[此贴子已经被作者于2017/4/12 12:47:51编辑过]
|