fn read_date(data: &[u8], offset: &mut usize) -> Date