Finished and tested truncateString(), month2digit(), getReturnDate(), createTimeStamp(), getBatchID(), addTapeBatch().  These are mostly helper functions to addTapeBatch() which is a heavy lifter.  Thus far all testing has been successful.