|
-
Apr 19th, 2005, 02:29 PM
#8
Need-a-life Member
Re: Compare Date/Time Elapsed... [resolved]
 Originally Posted by moinkhan
Just wondering Why can't you just use conditional operator to compare the dates?
VB Code:
If format("04/18/2005 17:51","mm/dd/yyyy hh:mm") = format(now,"mm/dd/yyyy hh:mm") Then
......
End If
Because he said:
 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)
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|