当前位置:
代码迷
>>
ASP
>> 时间差的有关问题
详细解决方案
时间差的有关问题
热度:
235
发布时间:
2012-03-07 09:13:51.0
时间差的问题
想做一个从早上8点到晚上8点之间显示一个网址,其他的时间显示其他内容,应该如何写?
------解决方案--------------------
If Time> CDate( "8:00:00 ") And Time <CDate( "20:00:00 ") Then
response.write( "day ")
Else
response.write( "night ")
End If
查看全文
相关解决方案