Thx for this info, and a neat query. And we have Normalised the database. The Date_Interval table keeps complete track of the Date(date, weekDay, yearDate, yearWeek...) and similarly the Time_Interval...
Edit plus. With this I could always color the current line. Find + Replace complex regular expressions, Infact I use this as my complete java project tool. I compile, edit...