Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Now FunctionThis standard VB function returns the current date and time. SyntaxReturnsThe current date and time as indicated by the clock of the server that is executing the code. UsageThe Now function returns a variant of vartype 7 (date) that represents the current date and time according to the setting of the computer's date and time. Use the Format function to specify the format in which the date and time should appear. ExampleThis example finds the month (1-12) and day (1-31) values for this Thursday. For another example, read Format Function. Sub Button_Click See AlsoDate Function |
Siebel VB Language Reference |