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


Thanx in advance

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.