Go Back   DeveloperBarn Forums > Programming & Scripting > ASP Development

Sponsored Links

Discuss "Date problem" in the ASP Development forum.

ASP Development - Learn coding practices and tips to get the best out of your Active Server Pages (ASP). The Classic ASP forum is for ASP/VBScript and ASP/JScript applications.


Reply « Previous Thread | Next Thread »  
 
LinkBack Thread Tools Display Modes
  #1  
Old September 1st, 2008, 04:54 PM
Barn Frequenter

 
Join Date: Mar 2008
Posts: 197
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
todd2006 is an unknown quantity at this point
Default Date problem

Hi,

I have a registration form for a exam to be hosted by a teacher.

There are 3 drop down boxes and the teacher will select the date, month and year values from the drop down boxes

when the teacher selects the values and hits submit

I want to add the day name for the date he had selected

So say for example the teacher selected 09/24/2008

So in the daytype field of the table i want to add Wedensday

can someone tell me how i can do this

todd
Reply With Quote
Sponsored Links
  #2  
Old September 1st, 2008, 06:15 PM
Barn Newbie
 
Join Date: Jul 2008
Location: Hayes, Middlesex, UK
Posts: 8
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 1
icoombs is on a distinguished road

Awards Showcase
Classic ASP 
Total Awards: 1

Default

Hi Todd

You need something along the lines of...

Code:
 
Response.write(WeekdayName(Weekday(Date)))

Comments on this post
BLaaaaaaaaaarche agrees:
Reply With Quote
Reply

  DeveloperBarn Forums > Programming & Scripting > ASP Development

Bookmarks

Thread Tools
Display Modes

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
date problem in access todd2006 SQL Development 2 August 17th, 2008 04:32 PM
date problem todd2006 SQL Development 2 July 7th, 2008 01:52 PM
date problem todd2006 SQL Development 1 May 12th, 2008 01:51 PM


All times are GMT -4. The time now is 05:35 PM.



Content Relevant URLs by vBSEO 3.2.0