There are two components to take into account for this question
- the earth rotation rate on itself
- the orbiting period around the sun
A day back then was shorter than today's earth day. The earth was rotating quicker in the past, but its rotating period around the sun didn't change much because of Kepler's law.
I cannot say how it was 5 billion years ago (anyway, did the earth had something you could call a surface to track the day from then?), but you could find data derived from fossils analysis for the last billion years, e.g. here from Nasa's SpaceMath, on how long a day was back then - I realize now the figures below assume the orbiting period of the earth around the sun (~8766 hours) stayed constant over this period of time. This assumption is wrong as explained here - however stating it "has been close to its current value for the last 2-3 billion years", so below figures are an approximation
| Period |
Age(years) |
*Days/year |
*Hours/day |
ratio |
| Current |
0 |
365 |
24.0 |
1.000 |
| Upper Cretaceous |
70 million |
370 |
23.7 |
0.988 |
| Upper Triassic |
220 million |
372 |
23.5 |
0.979 |
| Pennsylvanian |
290 million |
383 |
22.9 |
0.954 |
| Mississippian |
340 million |
398 |
22.0 |
0.917 |
| Upper Devonian |
380 million |
399 |
22.0 |
0.917 |
| Middle Devonian |
395 million |
405 |
21.6 |
0.900 |
| Lower Devonian |
410 million |
410 |
21.4 |
0.892 |
| Upper Silurian |
420 million |
400 |
21.9 |
0.913 |
| Middle Silurian |
430 million |
413 |
21.2 |
0.883 |
| Lower Silurian |
440 million |
421 |
20.8 |
0.867 |
| Upper Ordovician |
450 million |
414 |
21.2 |
0.883 |
| Middle Cambrian |
510 million |
424 |
20.7 |
0.863 |
| Ediacarin |
600 million |
417 |
21.0 |
0.875 |
| Cryogenian |
900 million |
486 |
18.0 |
0.750 |

From which I would roughly interpolate: 600 days earth self-rotation per year full rotation around the sun 2 billion years ago

Edit
We are saying here that earth was rotating quicker in the past:
Detailed studies of fossil shells, and the banded deposits in certain sandstones, reveal a much different length of day in past eras! These bands in sedimentation and shell-growth follow the lunar month and have individual bands representing the number of days in a lunar month.
By counting the number of bands, geologists can work out the number of days in a year, and from this the number of hours in a day when the shell was grown, or the deposits put down. The table above shows the results of one of these studies.