Set Seconds, Set("Seconds"), Seconds
This setting and property determine whether datetime output includes the seconds portion of the time. The function returns the current setting. Usage | SET SECONDS ON | OFF cOnOrOff = SET( "SECONDS" ) txtTextbox.Seconds = nSecondsSetting nSecondsSetting = txtTextbox.Seconds |
Parameter | Value | Meaning |
nSecondsSetting | 0 | Don't show seconds. |
1 | Show seconds. | |
2 | Use SET SECONDS setting. |
Example | SET SECONDS ON && Default value ? DATETIME() && Displays 09/15/95 04:30:21 PM SET SECONDS OFF ? DATETIME() && Displays 09/15/95 04:30 PM This.Seconds = 1 && Turn on seconds in text box code |
See Also | DateTime(), Hours, Set Hours, TToC() |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.