Correct by construction
Every day in the BS table converts to AD and back to itself. Invalid dates throw an error instead of being quietly changed.
Convert, format and calculate BS and AD dates, then give people a calendar and date pickers in React, plain HTML or any framework.