Quote Originally Posted by moinkhan
Just wondering Why can't you just use conditional operator to compare the dates?

VB Code:
  1. If format("04/18/2005 17:51","mm/dd/yyyy hh:mm") = format(now,"mm/dd/yyyy hh:mm") Then
  2.  
  3. ......
  4.  
  5. End If
Because he said:
Quote Originally Posted by thegreatone
...
And then show the elapsed time in seconds ?...
So, if he needs the elapsed seconds... if ElapsedSeconds = 0 => they're the same. And you have the elapsed time already.

Besides... I would not EVER rely on MS Format function for dates. That function does not always answer correctly (according to the regional settings)