Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

date formatting

 
 
Ray at
Guest
Posts: n/a
 
      10-14-2003
Use the Day function.

response.write day("12/1/2003")

Of course, is that date the first of December, or the twelth of January?

I suggest you download the WSH documentation here.
http://www.microsoft.com/downloads/d...displaylang=en

Ray at work

"JT" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> i have a date in the following format: 12/1/2003
>
> how do i reference just the 'day' portion of this date - in other words

'1'
>
> if the date was 12/10/2003, then i would just want the '10'
>
> tia
>
> jt
>
>



 
Reply With Quote
 
 
 
 
JT
Guest
Posts: n/a
 
      10-14-2003
i have a date in the following format: 12/1/2003

how do i reference just the 'day' portion of this date - in other words '1'

if the date was 12/10/2003, then i would just want the '10'

tia

jt


 
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