954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ASP Date Function

How do I convert 12/15/1985 to 15 December 1985 format using classic ASP?


Thanx in advance

cancer10
Posting Whiz in Training
234 posts since Dec 2004
Reputation Points: 58
Solved Threads: 1
 

How do I convert 12/15/1985 to 15 December 1985 format using classic ASP?

Thanx in advance


By Using FormatDateTime(date,format) Function :

Response.Write(FormatDateTime(#12/15/1985#,vbLongDate))
or
Response.Write(FormatDateTime(#12/15/1985#,1))


output will be :- Sunday, December 15, 1985

katarey
Junior Poster
167 posts since Jul 2005
Reputation Points: 39
Solved Threads: 23
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You