Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Timer FunctionThis standard VB function returns the number of seconds that have elapsed since midnight. SyntaxReturnsThe number of seconds that have elapsed since midnight. UsageThe Timer function can be used in conjunction with the Randomize statement to seed the random number generator. ExampleThis example uses the Timer to find Megabucks numbers. Sub Button_Click msgtext = "Your Megabucks numbers are: " For y = 1 to 8 See Also |
Siebel VB Language Reference |