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 displaly

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

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

All Forums >> Web Development >> ASP and Database >> date displaly
Page: [1]
 
kitty6

 

Posts: 122
Joined: 10/15/2005
Status: offline

 
date displaly - 4/7/2008 12:15:48   
I'm using the following code below to produce:
LOL080004344760

How can I make it read the month, day and year plus the ten digit timer? So it would look like this:
LOL0407080004538754

Thanks.

LOL<%'=right(datepart("yyyy",Date()),2) & (timer()*100)%><%=right(datepart("yyyy",Date()),2) & left("0000000000",(10-len(timer()*100))) & (timer()*100)%>
Spooky

 

Posts: 26597
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: date displaly - 4/7/2008 15:17:10   
Im trying to work out which parts which :)What would the same number look like with the date and without the date?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to kitty6)
kitty6

 

Posts: 122
Joined: 10/15/2005
Status: offline

 
RE: date display - 4/7/2008 19:47:44   
Sorry about that.

Right now, it looks like this: LOL080004344760
It has the LOL + 08(year) + the ten digit number

I would like it to look like this: LOL0407080004344760
LOL + 04(month) + 07(day) + 08(year) + the ten digit number

Does that sense?

Thanks.



(in reply to Spooky)
Spooky

 

Posts: 26597
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: date display - 4/7/2008 20:24:20   
Something like this should work :

LOL<%= right("0" & month(now),2) & right("0" & day(now),2) & right(year(now),2) & left("0000000000",(10-len(timer()*100))) & (timer()*100)%>


_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to kitty6)
kitty6

 

Posts: 122
Joined: 10/15/2005
Status: offline

 
RE: date display - 4/7/2008 21:48:27   
That worked perfect!

Thank You very much.

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> date displaly
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