Sstinsonmari said in the quote below;
Please read Genesis 1t speaks of a 1st, 2nd and 3rd day of creation week. A day is a unit of measurement, which was defined in Genesis 1, as being an evening and a morning. Sin had not occurred at that time. So, time was measured prior to the entry of sin, according to the Bible.
[. . . time was not measure until after sin. ]