Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > DateSerial FunctionThis standard VB function returns a date value for the year, month, and day specified. SyntaxReturnsA variant of vartype 7 (date) that represents a date from January 1, 100, through December 31, 9999, where January 1, 1900, is 2. UsageA numeric expression can be used for any of the arguments to specify a relative date: a number of days, months, or years before or after a certain date. ExampleThis example finds the day of the week for November 7 in the year 2009. Sub Button_Click See AlsoDateValue Function |
Siebel VB Language Reference |