Re: double figure of day and month
From: Aaron Bertrand [MVP] (aaron_at_TRASHaspfaq.com)
Date: 05/19/04
- Next message: Andrew: "Re: double figure of day and month"
- Previous message: Andrew: "double figure of day and month"
- In reply to: Andrew: "double figure of day and month"
- Next in thread: Andrew: "Re: double figure of day and month"
- Reply: Andrew: "Re: double figure of day and month"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 May 2004 20:19:48 -0400
<%
filename = year(date) & _
right("00" & month(date), 2) & _
right("00" & day(date), 2)
response.write filename
%>
-- Aaron Bertrand SQL Server MVP http://www.aspfaq.com/ "Andrew" <dunggaze@yahoo.com> wrote in message news:iExqc.65536$0qd.52815@twister01.bloor.is.net.cable.rogers.com... > Hi, > > I am going to use the date as my filename. How can I convert date() > ["5/18/04"] to "20040518"? Thanks a thousand. > > -- > Andrew > > > >
- Next message: Andrew: "Re: double figure of day and month"
- Previous message: Andrew: "double figure of day and month"
- In reply to: Andrew: "double figure of day and month"
- Next in thread: Andrew: "Re: double figure of day and month"
- Reply: Andrew: "Re: double figure of day and month"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|