Page 1 of 1
A different kind of calendar question...
Posted: Fri Nov 14, 2003 5:02 pm
by KOLO-TV-Reno
Hello everyone. I have a question about creating my own calendar.
First off, I would like to point out that I have done a search here as well as Google and AltaVista to no avail.
I work for a television station in Reno and am trying to create a broadcast calendar for our intranet site.
Now, the reason this is difficult is because broadcast calendars run from Monday through Sunday.
If you have any ideas, or can point me in the right direction, please do so!
Thanks in advance,
David
Posted: Fri Nov 14, 2003 5:05 pm
by microthick
The French calendar week is also Monday to Sunday, so that might help your searching.
Might this help?
http://www.cascade.org.uk/software/php/calendar/
You can specify the start day of the week.
Posted: Fri Nov 14, 2003 5:17 pm
by KOLO-TV-Reno
Holy moly you are fast! Thanks a ton microthick. This will really help me out! I appreciate it!
David
Posted: Fri Nov 14, 2003 5:29 pm
by microthick
No problem.
Posted: Fri Nov 14, 2003 5:40 pm
by KOLO-TV-Reno
Ok...one last question. That works great, except for one thing that I am sure I will have to just toy with at home.
Broadcast calendars run, as I said, Monday through Sunday. I got that done. However, the Broadcast Months are layed out as follows:
JAN FEB
M -T - W - T - F -S -S M -T - W - T - F -S -S
30-31-01-02-03-04-05 27-28-29-30-31-01-02
06-07-08-09-10-11-12 03-04-05-06-07-08-09
13-14-15-16-17-18-19 10-11-12-13-14-15-16
20-21-22-23-24-25-26 17-18-19-20-21-22-23
MAR APR
M -T - W - T - F -S -S M -T - W - T - F -S -S
24-25-26-27-28-01-02 31-01-02-03-04-05-06
03-04-05-06-07-08-09 07-08-09-10-11-12-13
10-11-12-13-14-15-16 14-15-16-17-18-19-20
17-18-19-20-21-22-23 21-22-23-24-25-26-27
24-25-26-27-28-29-30
MAY JUN
M -T - W - T - F -S -S M -T - W - T - F -S -S
28-29-30-01-02-03-04 26-27-28-29-30-31-01
05-06-07-08-09-10-11 02-03-04-05-06-07-08
12-13-14-15-16-17-18 09-10-11-12-13-14-15
19-20-21-22-23-24-25 16-17-18-19-20-21-22
23-24-25-26-27-28-29
Etc., etc., etc.
As you can see, if the beginning of the month is on a Tuesday or later, it takes the previous days and adds them to the beginning of the next month. For example, look at May. The first is on a Thursday, but the beginning of the month start as April 28.
How would I do this?
Thanks again,
David