Link Search Menu Expand Document

SSpread.TypeTimeSeconds Property

Set whether to display seconds in the time cell.

Only valid for cells with the CellType property set to $CellTypeTime . Before setting this property, use the Col , Row properties, and so on to specify what to do.

Specify $TRUE to display seconds and $FALSE to not display them.

The initial value is $FALSE .

The time format is set with the TypeTime24Hour property.

This property is subject to property inheritance for time cells .

Example of use

Col = 3;
Row = 2;
CellType = $ CellTypeTime;
TypeTimeSeconds = $ TRUE;
Value = str (sysdate (), "HHMISS");
 
BlockMode = $ TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $ CellTypeTime;
TypeTimeSeconds = $ FALSE;
Value = str (sysdate (), "HHMISS");
BlockMode = $ FALSE;

Related item

CellType , TypeTime24Hour property