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.