请教个时间控制的问题
如果说我要在某段时间到某段时间,例如:19:01-19:02我有两个文本框供用户输入时间段,然后有一个按钮,按下按钮执行某操作,应该怎么云写这段时间,怎么用代码呢
2011-09-07 19:08
MsgBox Now > CDate(Date & " 19:01") And Now < CDate(Date & " 19:02")要注意把:全角的冒号替换成:
text1=replace(text1,":",":") text2=replace(text2,":",":") MsgBox Now > CDate(Date & " " & text1) And Now < CDate(Date & " " & text2)

2011-09-07 21:21
2011-09-08 09:09
2011-09-08 09:29
正在找这方面的资料。
2012-12-02 20:23