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

如何使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

dawei

【声明】:九江站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。