Code covered by the BSD License  

Highlights from
HTML calendar generator

5.0

5.0 | 1 rating Rate this file 12 Downloads (last 30 days) File Size: 3.2 KB File ID: #16192
image thumbnail

HTML calendar generator

by Toby Driscoll

 

31 Aug 2007 (Updated 31 Aug 2007)

HTMLCAL creates a web page with nicely formatted monthly calendars over a date range of your choosin

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

HTMLCAL produces an HTML file with formatted monthly calendars, useful for web pages. You can choose the range of months, the name of the output file, and the days of the week to be included. The calendars are formatted using an embedded CSS style sheet, so it's easy to make global changes to the appearance of your calendars.

When I teach matlab-intensive courses, I post a calendar on the class web page and create a link for each date to a matlab diary (or published output) of that day.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
09 Apr 2008 Tom Lucas

This is a very interesting and impressive code. I have learned much from studying it.

There is a minor bug that leads to 2 January's of 2007 and none for 2008, for example. It comes from line 80:

Year = y0 + floor(m/13);

One fix might be:

Year = y0 + (m-Month)/12;

Anyway, great app!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
html Toby Driscoll 22 Oct 2008 09:25:05
web Toby Driscoll 22 Oct 2008 09:25:05
calendar Toby Driscoll 22 Oct 2008 09:25:05
utilities Toby Driscoll 22 Oct 2008 09:25:05
date Toby Driscoll 22 Oct 2008 09:25:05
potw Cristina McIntire 07 Nov 2008 13:23:23
pick of the week Jiro Doke 11 Feb 2011 20:15:14

Contact us at files@mathworks.com