Compound of 日 (hi, “sun”) + な (na, Old Japanese possessive particle) + た (ta, “direction, side”). The ta element is found in terms such as あなた (anata, “you”, originally “that side (distant)”), そなた (sonata, “you”, archaic; originally “that side (nearby)”).