pub fn my_datetime_packed_from_binary<T: Read>(
    input: T,
    dec: u32
) -> Result<i64>