codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  how to add minutes in system time  aamirhasan at 14:57 on Thursday, September 07, 2006
 

hi ..........
I need helf from your's .
I want to add minutes in a specific system time.
My case is this that i m designing a attendance system and i want that if any employee reenter his id card(bar code card) with in 5 minutes of his Time IN than I will not accept his card for Time out.
Simply I need
If TimeOut > TimeIn+5 minutes then

......accept

else

.......reject

end if

<Added>

hi ..........
I need help from your's .
I want to add minutes in a specific system time.(in vb.net)
My case is this that i m designing a attendance system and i want that if any employee reenter his id card(bar code card) with in 5 minutes of his Time IN than I will not accept his card for Time out.
Simply I need

If TimeOut > TimeIn+5 minutes then

accept

else

reject

end if

  Re: how to add minutes in system time  ymdomar at 09:11 on Friday, December 15, 2006
 

To find current system time DateTime.Now
To add 5 min in system time DateTime.Now.AddMinutes(5)








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  logging console output of stored procedure to file
•  Re: need help!!!
•  Connecting to an https server using NNTP perl
•  Is there an ADMIN!!!!! Is this place maintained!
•  small question
•  Re: Text to Speech Converter
•  Re: Multithreading question
•  Re: This forum sucks.
•  Re: Appending to a file


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2006