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:

Date Calulation (1997) Unix webcat perms & multiple versions of same db in cacheissue (2000) Getting Emailer to send mail (1997) Replace Missing Images (2003) emailer on Windows Beta 18 (1997) Loop code problem (2000) [OT] Airport Network (2003) InSecureTextVariables.... (2000) I'm having trouble using [url][interpret][math] together in lookup (1997) User/pass with tcpconnect (2000) Great product and great job ! (1997) [LOOKUP] (1997) Performance of this mailserver (2000) WebCAT has the devil in it! (2003) Authenticate (1999) Need help with emailer- 2 issues (1997) Online magazine- monthly updates and such (1999) Cart Unique After Rolling Back Time? (2001) Ranking customers (2003) Relative URL quirk (1999)