Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2004, 03:39 PM
Registered User
 
Join Date: Apr 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pherms Send a message via Yahoo to pherms
Default how to get the day from a given date

I'm working on an asp app.
I want to do the following:

user enters a date in a textbox.

The app has to read the value in the textbox and has to look up which day it is.

example:
user enters: 15-4-2004

output would have to be: thu 15-4-2004

How do I accomplish this?

Thanks in advance
 
Old April 15th, 2004, 03:44 PM
Authorized User
 
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hcweb
Default

I just so happened to be on a page that gives date formats. Check here for different ways of displaying or formatting dates.
http://www.asp-help.com/articles/dates.asp
 
Old April 16th, 2004, 05:38 PM
Registered User
 
Join Date: Apr 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pherms Send a message via Yahoo to pherms
Default

Thank you very much. I think it should work with one of these examples on this website.
I'm going to try this tomorrow.





Similar Threads
Thread Thread Starter Forum Replies Last Post
subtracting 1 day from the current date Jeff C# 2 March 12th, 2009 01:16 AM
make date display go back a day crmpicco Javascript How-To 2 March 16th, 2006 01:42 PM
day to day use of XML mano XML 1 November 27th, 2003 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.