func (db *DB) readHeaderDate() error {
	year, err := db.readUint8(2)
	if err != nil {
		return err
	}
	db.header.Year = 2000 + uint16(year)
	db.header.Month, err = db.readUint8(3)
	if err != nil {
		return err
	}
	db.header.Day, err = db.readUint8(4)
	return err
}
// parses date in db file header
parses date in db file header
// parses date in db file header
func (db *DB) readHeaderDate() error {
	year, err := db.readUint8(2)
	if err != nil {
		return err
	}
	db.header.Year = 2000 + uint16(year)
	db.header.Month, err = db.readUint8(3)
	if err != nil {
		return err
	}
	db.header.Day, err = db.readUint8(4)
	return err
}
func ( db * DB ) readHeaderDate ( ) error { year , err := db . readUint8 ( 2 ) if err != nil { return err } db . header . Year = 2000 + uint16 ( year ) db . header . Month , err = db . readUint8 ( 3 ) if err != nil { return err } db . header . Day , err = db . readUint8 ( 4 ) return err }
parses date in db file header
parses date in db file header