# getMonth method

int getMonth()

Gets the the month (1 through 12).

return The month (1 through 12). throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    int getMonth() {
      Pointer<Int> pMonth = calloc();
      try {
        var err = biosealSDK.id3BiosealDateTime_GetMonth(_pHandle.value, pMonth);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vMonth = pMonth.value;
        return vMonth;
      } finally {
        calloc.free(pMonth);
      }
    }