今天小编会跟大家讲讲ASP函数中日期转换的函数,在很多网站制作中,都需要运用到时间函数,所以今天创新互联网站建设小编就来分析分析!代码很多,请大家仔细看清楚了哦!
Function FormatDate(byVal strDate,byVal strFormat)
' Accepts strDate as a valid date/time,
' strFormat as the output template.
' The function finds each item in the
' template and replaces it with the
' relevant information extracted from strDate.
' You are free to use this code provided the following line remains
' www.adopenstatic.com/resources/code/formatdate.asp