The term, oath, as used in this chapter, includes any affirmation, and every other mode of attesting the truth of that which is stated, which is authorized by law. It is no defense that the oath was administered or taken in an irregular manner.
SDCL 22-29-8