date format
(Full Version)
All Forums
>>
[Web Development]
>>
Dreamweaver Help
Message
VanessaBurgess
->
date format
(4/29/2008 11:00:13)
Dreamweaver CS3
I need to reverse the date from US:
04/29/08
to UK
29/04/08
This is not contained in LCID. Would appreciate some help with this.
<td width=50% class=view1_item>Order ID: <b><%= Order%></b>
<br>Date: <b><%= thedate%></b>
Thanks
rdouglass
->
RE: date format
(4/29/2008 11:25:10)
quote:
<%= thedate%>
If the date is always padded with 0's, you could do something like this:
<%=mid(thedate,4,3) & left(thedate,3) & right(thedate,2)%>
I think that's the right syntax. Hope it helps.
Page:
[1]
Forum Software ©
ASPPlayground.NET
Advanced Edition
2.4.5 ANSI
0.046875