This is junk... I need to fix the load Year.
Added function to retrive the dates avalable from the database.