T
Tim
How can I tell if 24 hours has past from now?
Thanks!
Tim
Thanks!
Tim
* "Tim said:How can I tell if 24 hours has past from now?
* "Tim said:For example:
KNOWNDATE = 12/22/2003 10:13:00 AM
How can I get the number of hours between Now() and
KNOWDATE
Herfried K. Wagner said:\\\
Dim KnownDate As Date = DateTime.Parse(...)
MsgBox(KnownDate.Subtract(DateTime.Now).Hours.ToString())
///
As an alternative, you can use 'DateDiff'.