Did you already check out the documentation on both? To do so, place the
caret over them and press the F1 key.
I did:
Today seems a member of the DateandTime module
but
honestly I didn't understand a lot about the usage difference
also because in the same datetime.today page
there is the following example
Dim value As DateTime
value = DateAndTime.Today
DateAndTime.Today = value
and then this slightly different one
Dim thisDate As Date
thisDate = Today
so currently I 'm not sure about the usage
of datetime.today and of today
----------
Also, we have:
Date, DateTime, DateandTime, Today, DateTime.Today, DateAndTime.Today
isn't it?
Well I'm confused;
just to not bother you,
have you a page with a schema/diagram/chart ?
Maybe you want to use 'TimeOfDay' instead of 'Today'.
shortly back to the time setting task:
by following your hint, I succeeded,
but at the beginning I declared :
Dim aaa As DateTime
while DateTime is not a Type (although the IDE gave me no error).
How would you have declared it?