Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 22nd, 2004, 06:07 PM
Authorized User
 
Join Date: Mar 2004
Location: , , .
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to gmoney060 Send a message via MSN to gmoney060
Default Calender

I need to make a calander that is a table, and has cells for all the dates... I think i could do that, but i am not sure how to make it so it will know how many days per month, or what day of the week a new month starts or ends.... If anyone could help with this it would be great! You can also IM (AOL) at G Unit2507

Grant!

Reply With Quote
  #2 (permalink)  
Old August 22nd, 2004, 07:52 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Too bad you aren't using .NET, as this is in there by default... there may be an external product that does this.

Brian
Reply With Quote
  #3 (permalink)  
Old August 22nd, 2004, 11:15 PM
Authorized User
 
Join Date: Mar 2004
Location: , , .
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to gmoney060 Send a message via MSN to gmoney060
Default

if anyone else knows anything about this it would be great!

Reply With Quote
  #4 (permalink)  
Old August 23rd, 2004, 12:00 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Mentiri, Muara, Brunei.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default


  Why do you want to develop again if the built in control is available. Otherwise you can download readymade components.

Or

to find the weekday where the first day of the month starts, use the function

weekday(strDate)

Make sure the table having 7 columns. You start from the current month first date and weekday. And follow until the end of the month. Generate rows and columns of the table dynamically.

You can find the total number of days in the current month using
regular formula.


    if mnthno=1 or mnthno=3 or mnthno=5 or mnthno=7 or mnthno=8 or mnthno=10 or mnthno=12 then
        nodays=31
    elseif mnthno=2 then
        if (yearno mod 4)=0 then
            nodays=29
        else
            nodays=28
        end if
    else
        nodays=30
    end if





Reply With Quote
  #5 (permalink)  
Old August 23rd, 2004, 12:10 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

A number of calendar scripts are freely available at

http://www.hotscripts.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disply calender sharadavani6 Servlets 2 November 5th, 2007 06:14 AM
Regarding Calender Button kotaiah Excel VBA 0 September 21st, 2006 07:21 AM
calender crmpicco Classic ASP Basics 2 March 23rd, 2005 01:21 PM
Calender control anita VB How-To 4 December 12th, 2004 03:10 PM
Calender Controls KennethMungwira Access 12 October 29th, 2003 04:46 PM



All times are GMT -4. The time now is 02:28 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.