When the date is before Christ's birth, the "B.C." follows the number, e.g.: 166 B.C.
When the date is after Christ's birth, the "A.D." precedes the number, e.g., A.D. 43 = "In the year of Our Lord (anno domini), 43."
Regards,
In the first millennium, the year was often preceded by an I, since Jesus was spelled Iesus, following Ancient Greek Ἰησοῦς (Iēsoûs) since the letter J didn't gain currency until the 1500s.
Old building had cornerstones with the date in this format, e.g. a building erected in 347 A.D. would be marked I347.
Which caused an apparent missing millennium in construction, as it was read as 1347, and therefore it looked like nothing survived from before 1000 A.D.