«
dbrowse
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
| mysql> select * | |
|---|---|
| mysql> from dcal.holidays | |
| mysql> where year(date)=2010; | |
| date | eid |
| 16 rows in set (0.0007 seconds) | |
| 2010-01-01 | 1 |
| 2010-01-18 | 2 |
| 2010-02-14 | 3 |
| 2010-02-15 | 4 |
| 2010-03-17 | 5 |
| 2010-04-04 | 6 |
| 2010-05-05 | 7 |
| 2010-05-31 | 8 |
| 2010-07-04 | 9 |
| 2010-09-06 | 10 |
| 2010-10-11 | 11 |
| 2010-10-31 | 12 |
| 2010-11-11 | 13 |
| 2010-11-25 | 14 |
| 2010-12-25 | 15 |
| 2010-10-03 | 16 |






















































































