Specifies whether the seconds portion of a DateTime value is displayed in a text box. Available at design time and run time.
Object.Seconds[ = nValue] |
Return Value
- nValue
-
One of the following settings:
Setting Description 0
Off. The seconds portion of the DateTime value is not displayed.
1
On. The seconds portion of the DateTime value is displayed.
2
(Default) The SET SECONDS setting determines if the seconds portion of the DateTime value is displayed. If SET SECONDS is ON, the seconds portion of the DateTime value is displayed. If SET SECONDS is OFF, the seconds portion of the DateTime value is not displayed.
Remarks
Applies To: TextBox
The Seconds property setting is ignored if the DateFormat property is set to Short or Long.