I'm trying (not very hard) to make a nifty little tool to format people's daylogs onto a calendar, something like this...


  .----------------------------.
  | March                 2003 |
  |----------------------------|
  |  S   M   T   W   T   F   S |
  |                          1 |
  |  2   3   4   5   6   7   8 |
  |  9  10  11  12  13  14  15 |
  | 16  17  18  19  20  21  22 |
  | 23  24  25  26  27  28  29 |
  | 30  31                     |
  '----------------------------'

I'm using some horrible javascript and active-x, so it's Internet Explorer and Windows only, but bear with me, it could be good.

Update (the first):

It's looks like WWWWolf managed to do this ages ago as one of the Slithering Perl Horrors, but then removed it because it encourages bad habits. Ho hum...

Update (the second):

Using the aforementioned non-standard javascript and active-x, I can now create the output below. If you would like to try and use the script, drop me a /msg.

 March                  2003
 Sun Mon Tue Wed Thu Fri Sat
                           1  
   2   3   4   5   6   7   8  
   9  10  11  12  13  14  15  
  16  17  18  19  20  21  22  
  23  24  25  26  27  28  29  
  30  31  

 January                2003
 Sun Mon Tue Wed Thu Fri Sat
               1   2   3   4  
   5   6   7   8   9  10  11  
  12  13  14  15  16  17  18  
  19  20  21  22  23  24  25  
  26  27  28  29  30  31  

 May                    2002
 Sun Mon Tue Wed Thu Fri Sat
               1   2   3   4  
   5   6   7   8   9  10  11  
  12  13  14  15  16  17  18  
  19  20  21  22  23  24  25  
  26  27  28  29  30  31  

 October                2001
 Sun Mon Tue Wed Thu Fri Sat
       1   2   3   4   5   6  
   7   8   9  10  11  12  13  
  14  15  16  17  18  19  20  
  21  22  23  24  25  26  27  
  28  29  30  31  

 September              2001
 Sun Mon Tue Wed Thu Fri Sat
                           1  
   2   3   4   5   6   7   8  
   9  10  11  12  13  14  15  
  16  17  18  19  20  21  22  
  23  24  25  26  27  28  29  
  30