Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Time FunctionThis standard VB function returns a string representing the current time. SyntaxReturnsAn eight-character string of the format hh:mm:ss, where hh is the hour, mm is the minutes, and ss is the seconds. The hour is specified in military style and ranges from 0 to 23. UsageThe dollar sign ($) in the function name is optional. If it is included, the return type is string. Otherwise the function returns a variant of vartype 8 (string). ExampleThis example writes data to a file if it has not been saved within the last two minutes. Sub Button_Click See AlsoDate Function |
Siebel VB Language Reference |