B
Bruno
How do I check if a date variable is empty?
I mean, if I declare a variable like this
dim d as Date
how do I know if any date was assigned to d?
example,
d = now
I am currently using
if d.tostring = "01/01/0001 12:00:00 AM" then
'its empty
end if
but if the UICulture is different from en-US, it won't work....
is there any good way to check this?
Thanks,
Bruno
I mean, if I declare a variable like this
dim d as Date
how do I know if any date was assigned to d?
example,
d = now
I am currently using
if d.tostring = "01/01/0001 12:00:00 AM" then
'its empty
end if
but if the UICulture is different from en-US, it won't work....
is there any good way to check this?
Thanks,
Bruno