Skip Site Navigation «

dbrowse

app«dbrowse
MySQL

Selected Data

This node is informative, descriptive, functional and terminating.
[definitions]

Query Path

Interactive Path

Description of Results

This MySQL table maps the foreign key eid in the events table to the correct dates for standard US holidays for any given sequence of dates, or even a single date. Valid years are in the range of 1970 to 2037. This restriction also coincides with the range of years the calendar is capabale of displaying. The reason for this restriction, if you want to call it that, is based on how Unix stores dates. Contact Me if you'd like further explanation, or I may post more information and a URI on the topic.

Since some of these dates vary from year to year, and the calculations necessary to determine them are quite complex, I opted to use a look-up table like this one instead. Writing the Perl script to populate this table was a piece of work, and if I get the time I may release it as part of this application.

For a more interesting view of this same information, I suggest you visit the events data node.

Node/View

Table dcal.holidays: Selected data.
mysql> select *
mysql> from dcal.holidays
mysql> where year(date)=2008;
date eid
15 rows in set (0.0006 seconds)
2008-01-01 1
2008-01-21 2
2008-02-14 3
2008-02-18 4
2008-03-17 5
2008-03-23 6
2008-05-05 7
2008-05-26 8
2008-07-04 9
2008-09-01 10
2008-10-13 11
2008-10-31 12
2008-11-11 13
2008-11-27 14
2008-12-25 15

Last updated: Tuesday, February 28th, 2006 @ 2:38 AM EST [2006-02-28T07:38:14Z]   home

(c) 2006-2008, Douglas W. Clifton, loadaveragezero.com, all rights reserved.