Q: Checking if userinput is a valid time/date
Stefan.Goebel@t-online.de (Stefan Göbel) wrote: I have following problem: I need to write a procedure which checks whether the date the user has typed is correct. I need to know all this confusing date convention about Feb 29th (which year has the Feb 29) and so on.
Q: from the HELP file which comes with VB4 IsDate: Returns a Boolean value indicating whether an expression can be converted to a date. Syntax IsDate(expression) The expression argument can be any date or string expression recognizable as a date or time. Remarks IsDate returns True if the expression is a date or can be converted to a valid date; otherwise, it returns False. In Microsoft Windows, the range of valid dates is January 1, 100 A.D. through December 31, 9999 A.D.; the ranges vary among operating systems. Return