最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 程序提示中午好,上午好程序
时间:2022-07-02 22:36:38 编辑:袖梨 来源:一聚教程网
function jdsj()
n = cstr(right(year(date()),2)) + "-"
y = cstr(month(date())) + "-"
if len(y) = 2 then y = "0" + y
r = cstr(day(date()))
if len(r) = 1 then r = "0" + r
h = cstr(hour(now())) + "-"
if len(h) = 2 then h = "0" + h
f = cstr(minute(now()))
if len(f) = 1 then f = "0" + f
jdsj = n + y + r + " " + h + f
end function
xxsj = cstr(year(date())) + "年" + cstr(month(date())) + "月" + cstr(day(date())) + "日 " + weekdayname(weekday(now))
Function WHY()
mytime = hour(now())
if mytime>=5 and mytime<9 then why = "早上好!"
if mytime>=9 and mytime<11 then why = "上午好!"
if mytime>=11 and mytime<13 then why = "中午好!"
if mytime>=13 and mytime<18 then why = "下午好!"
if mytime>=18 and mytime<24 then why = "晚上好!"
if mytime>=00 and mytime<5 then why = "挺晚了,注意休息啊!"
End Function
相关文章
- 不良人破局装备获取途径 07-07
- 萤火突击兑换码有哪些-萤火突击兑换码兑换码一览 07-07
- 如何用Photoshop双曲线去处理前期不足的淡妆片子? 07-07
- 三角洲行动更新内容有哪些-三角洲行动更新内容一览 07-07
- 苹果怎么快速下载Binance?Binance官网ios下载教程 07-07
- ps快速制作超好看的采桑子古风动态图教程 07-07