Trying to get a date system to work and more work on timetables