We usually need to write the previous date on the WEB page to enable user-end scripts or ASP.
A feature of ASP is that the effect produced by ASP is static pages, but in reality it is dynamic.
If you want to use ASP to display the daily period of a Chinese text, you need to convert it into one.
The following is the number of functions to be converted and the example for calling them.
[[Function implementation]
[%
'================================================ ====================
'Function Date2Chinese
'Function: obtain the string of the Chinese date (for example, January 1, May 12, 1998)
'Parameter: date to be converted by iDate
'Return: String of the Chinese date
'================================================ ====================
Function Date2Chinese (iDate)
Dim num (10)
Dim iYear
Dim iMonth
Dim iDay
Num (0) ="
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service