加入收藏 | 设为首页 | 会员中心 | 我要投稿 源码门户网 (https://www.92codes.com/)- 云服务器、云原生、边缘计算、云计算、混合云存储!
当前位置: 首页 > 站长学院 > Asp教程 > 正文

如何使ASP分页和日期格式化

发布时间:2023-12-21 19:24:22 所属栏目:Asp教程 来源:DaWei
导读: 如何使ASP分页

以下为引用的内容:
intNumPage = Abs(Int(-(intNumRecord/intPerPage)))

将日期格式化为RFC822格式

以下为引用的内容:
Function DateToRFC822(byVal dtaVal)
D
如何使ASP分页

以下为引用的内容:
intNumPage = Abs(Int(-(intNumRecord/intPerPage)))

将日期格式化为RFC822格式

以下为引用的内容:
Function DateToRFC822(byVal dtaVal)
Dim strCurLocale : strCurLocale = GetLocale()
SetLocale("en-gb")
dtaVal = CDate(dtaVal)
DateToRFC822 = WeekdayName(Weekday(dtaVal),True)&","&_
Right("0"&Day(dtaVal),2)&" "&_
MonthName(Month(dtaVal),True)&" "&_
Year(dtaVal)&" "&_
Right("0"&Hour(dtaVal),2)&":"&_
Right("0"&Minute(dtaVal),2)&":"& _
Right("0"&Second(dtaVal),2)&" "& _
" 0800"
SetLocale(strCurLocale)
End Function

(编辑:源码门户网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章