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:

wrong input values? (1997) Progress !! WAS: Trouble with formula.db (1997) f2 download problems (1997) Problem displaying search result (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Currency Conversion (2003) Test, sorry (2004) Date Formats (1997) Questions To Answer (1997) Capitalize special cases (2000) WebCat2 several catalogs? (1997) Updating database (1998) Protect (1997) emailer on Windows Beta 18 (1997) [OT] will work for... (2003) How to pass from a detail page to another? (1998) restart needed???? (1997) Clear command and ShoppingCart.tmpl (1997) Problems with v4.01 email (2000) [shell] command (2000)