BaZi records the time of birth
The traditional calendar records the year, month, day and hour using four pairs of signs called Heavenly Stems and Earthly Branches. Mapping them to Wood, Fire, Earth, Metal and Water gives a Five Elements chart.
Birth time unknown? The year, month and day can still provide a starting point.