CIA Compliance Manager API Documentation - v0.8.5

    Variable formatDate

    formatDate: (date: string | Date, options?: DateTimeFormatOptions) => string

    Type declaration

      • (date: string | Date, options?: DateTimeFormatOptions): string
      • Formats a date using the browser's local formatting

        Consistent date formatting improves the readability of audit records, compliance documentation, and implementation timelines. 📅

        Parameters

        • date: string | Date

          Date object or string to format

        • options: DateTimeFormatOptions = ...

          Date formatting options

        Returns string

        Formatted date string

    MMNEPVFCICPMFPCPTTAAATR