Calendar Snippet Problems

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18211
interpreted = N
texte = Calendar Snippet Problems....Hi, I grabbed the Calendar Snippet off the examples area of the Pacific Coast web site. This is great and I am using it as the core of an events calendar I am building in WebCat.Theoretically you can enter any month and year into it and it will generate a tabled calendar for that month -- No matter what year! This gets you around having to have a hard coded tables of days for each month of each year through eternity, saving all that future updating time.But in practice, it goofs up several times a year putting the first day of the month on the wrong day of the week.Here is 1998. http://secure.ims1.com/testcal/calendar.tmplCorrect months: jan., feb., april, june, aug., sept., nov. Incorrect months: march, may, july, oct., dec.So there doesn't seem to be a pattern in it.Has anyone used the calendar snippet? Has anyone fixed this problem? Is the creator of this out there? I could use some help with the math/ logic that determines what day of the week a month starts on.Also, you may be interested in the Events portion of this: http://secure.ims1.com/cancerclinic/calendar/events.tmplFor each month that there is an event scheduled (currently only july which starts on the wrong day of the week), there is a link to that month on this first page. The title for each event is linked to display the details of that event along with a photo (see T'ai Chi, enter user=guest password=ims*guest). The current month is always displayed on the first view and events for the current or next month may be displayed in a list.Thanks, Paul _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. \_\_\_\_ _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ _/_/_/ Business - _\_\_\_\_\_\_\_\_\_\_ _/_/_/ Real Estate - _\_\_\_\_ _/_/_/Websites - Children _/ _\_\_\_ _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Associated Messages, from the most recent to the oldest:

    
  1. Re: Calendar Snippet Problems (Paul Uttermohlen 1998)
  2. Calendar Snippet Problems (John Hill 1998)
  3. Re: Calendar Snippet Problems (Paul Uttermohlen 1998)
  4. Re: Calendar Snippet Problems (Sandra L. Pitner 1998)
  5. Calendar Snippet Problems (Paul Uttermohlen 1998)
Calendar Snippet Problems....Hi, I grabbed the Calendar Snippet off the examples area of the Pacific Coast web site. This is great and I am using it as the core of an events calendar I am building in WebCat.Theoretically you can enter any month and year into it and it will generate a tabled calendar for that month -- No matter what year! This gets you around having to have a hard coded tables of days for each month of each year through eternity, saving all that future updating time.But in practice, it goofs up several times a year putting the first day of the month on the wrong day of the week.Here is 1998. http://secure.ims1.com/testcal/calendar.tmplCorrect months: jan., feb., april, june, aug., sept., nov. Incorrect months: march, may, july, oct., dec.So there doesn't seem to be a pattern in it.Has anyone used the calendar snippet? Has anyone fixed this problem? Is the creator of this out there? I could use some help with the math/ logic that determines what day of the week a month starts on.Also, you may be interested in the Events portion of this: http://secure.ims1.com/cancerclinic/calendar/events.tmplFor each month that there is an event scheduled (currently only july which starts on the wrong day of the week), there is a link to that month on this first page. The title for each event is linked to display the details of that event along with a photo (see T'ai Chi, enter user=guest password=ims*guest). The current month is always displayed on the first view and events for the current or next month may be displayed in a list.Thanks, Paul _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. \_\_\_\_ _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ _/_/_/ Business - _\_\_\_\_\_\_\_\_\_\_ _/_/_/ Real Estate - _\_\_\_\_ _/_/_/Websites - Children _/ _\_\_\_ _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Paul Uttermohlen

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Pricing (1998) RE: [WebDNA] a major shift in strategy? (2008) RAM variables (1997) Interpret twice? (1997) WCS Newbie question (1997) Cannot calculate prices (1997) Re:E-mailer application times out (1998) Summing fields (1997) SSL and reg web* (1997) Locking up with WebCatalog... (1997) Bit off subject -- Faxing orders (1997) username = 115 (1999) [WebDNA] Webdna, Css & ie (2011) Separate SSL Server (1997) Up and running ... at last !! (1997) Expiration of Carts (1997) Looping control (1997) Protect vs Authenicate (1997) Securing/hiding database file (2000) Date Sorting (1997)