|
-
Jan 30th, 2002, 12:01 PM
#1
Thread Starter
Fanatic Member
Formatting a date with vbscript in ASP
I'm trying to format a date before I display it on a web page
I know how to do it in Visual Basic eg =
Text2.Text = Format(Text1.Text, "dd/mm/yyyy")
I was hoping to use something similar in ASP ServerSide script
eg =
<%=format(rsWP(16),"dd/mm/yyyy")%>
But It doesn't work.
When I save the date to my DB it is sent and stored in the db as dd/mm/yyyy but when I display it on a web page it comes out as m/d/yyyy very annoying!
Help please?
Regards Al
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|