navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

date format

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Dreamweaver Help >> date format
Page: [1]
 
VanessaBurgess

 

Posts: 4
Joined: 2/29/2008
Status: offline

 
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

 

Posts: 9136
From: Biddeford, ME USA
Status: offline

 
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.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to VanessaBurgess)
Page:   [1]

All Forums >> Web Development >> Dreamweaver Help >> date format
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts