Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > date formatting

Reply
Thread Tools

date formatting

 
 
dave
Guest
Posts: n/a
 
      01-21-2004
how can I format date that always return in fixed width.

for example..
if the date is 1st jan, 2003..

it should return 01/01/2003 not 1/1/2003

i need date format always in 10 characters...

thanx in advance..
dave

 
Reply With Quote
 
 
 
 
Aaron Bertrand - MVP
Guest
Posts: n/a
 
      01-21-2004
Adapt the code here.
http://www.aspfaq.com/2313

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




"dave" <(E-Mail Removed)> wrote in message
news:182c01c3dfb2$e73419f0$(E-Mail Removed)...
> how can I format date that always return in fixed width.
>
> for example..
> if the date is 1st jan, 2003..
>
> it should return 01/01/2003 not 1/1/2003
>
> i need date format always in 10 characters...
>
> thanx in advance..
> dave
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date, date date date.... Peter Grison Java 10 05-30-2004 01:20 PM
Given a date, how to find the beginning date and ending date of that week Matt ASP General 11 11-08-2003 11:24 PM
Given a date, how to find the beginning date and ending date of that week Matt ASP .Net 1 11-08-2003 09:14 PM
Given a date, how to find the beginning date and ending date of that week Matt C Programming 3 11-08-2003 09:07 PM
Given a date, how to find the beginning date and ending date of that week Matt C++ 2 11-08-2003 08:30 PM



Advertisments