Question
date object validation
Hi All,
I've been looking at date and decision functions but I can't seem to find one which will check if a certain value/variable is a date object or not. I can't use IsDate 'coz this will only check if a certain string can be converted to a date. What I mean is, example, I will know that a certain value is a date object if that value is returned by a Now() function or a CreateDate/CreateDateTime function. These functions will return date objects. But how do I check if a certain value is a date object or not?
Example: Now() returns a date object, so this is a date object. But if I manually input, say "2008-07-11", this is not a date object since I just input it as a string.
Thanks.
I've been looking at date and decision functions but I can't seem to find one which will check if a certain value/variable is a date object or not. I can't use IsDate 'coz this will only check if a certain string can be converted to a date. What I mean is, example, I will know that a certain value is a date object if that value is returned by a Now() function or a CreateDate/CreateDateTime function. These functions will return date objects. But how do I check if a certain value is a date object or not?
Example: Now() returns a date object, so this is a date object. But if I manually input, say "2008-07-11", this is not a date object since I just input it as a string.
Thanks.
