era formatting for dates