i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > data > IFormattingOptions > showMillis

    data.IFormattingOptions.showMillis property

    Gets a value indicating whether to show milliseconds in formatted time and date-time values.

    Signature:

    readonly showMillis?: 'never' | 'always' | 'ifpresent';
    

    Returns: 'never' | 'always' | 'ifpresent'

    Default value: 'ifpresent'

    Introduced: version 1.0

    Remarks

    Use 'always' to add milliseconds to the output in all circumstances (even if the milliseconds value is zero); 'never' to suppress milliseconds from the output (even if the value is non-zero); and 'ifpresent' to add milliseconds to the output only if the milliseconds value is non-zero.

    In this article
    Back to top © N. Harris Computer Corporation