![[ articles ]](/g_articles.gif)
Someone from work was using an excel spreadsheet for making a simple calendar which displays the day of the year. every year, this calendar was updated, mostly by hand. one day, someone else requested this calendar for prior years, and we didn't have them. so this generator was born. and man, was it simple to make.
note: in the app, i am using "julian day" to mean "day of the year" even though it isn't technically correct. it's just that everyone seems to make that association.
below is the ASP version, but I also converted this to PHP, and will post it when I get a chance.
| ASP CODE |
|
the main form just asks for a year, but it also automatically displays links for the past 4 years and the future 2 (to save the user the hassle of typing in the year).
calendargenerator.asp
the main form gets submitted to the page below. this page does all the work.
displaycalendar.asp
|
questions? comments? please send an e-mail.