Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Murali
(50)
Abraham Kuriak...
(49)
Deepika Harida...
(26)
Last 7 Days
Deepika Harida...
(1175)
Pradeep Y
(997)
amarababu nara...
(961)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
How to compare two different times using VB.NET
Posted Date: 01 May 2008 Resource Type:
Code Snippets
Category:
Date & Time
Posted By:
Asha Mathews
Member Level:
Gold
Rating:
Points
: 10
The following sample function can be used to compare time
Function comTime()
Dim t1 As Integer = DateTime.Now.TimeOfDay.Milliseconds
Dim t2 As Integer = DateTime.Now.AddHours(1).Millisecond
If (t1 > t2) Then
MessageBox.Show("t1>t2")
ElseIf (t1 = t2) Then
MessageBox.Show("t1=t2")
Else
MessageBox.Show("t2>t1")
End If
End Function
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
Datepiker
.
Datepaker
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Comparing and Adding Dates
Previous Resource:
How to disable and color a specific date Range on calendar control
Return to Discussion Resource Index
Post New Resource
Category:
Date & Time
Post resources and
earn money
!
Related Resources
Get the System Date , using c#
Difference between two datetime objects
Get current UTC/GMT time using Javascript
Adjust ASP.NET CalendarControl to show Next Month
Comparing DateTime
dotNet Slackers
BizTalk Adaptors
Web Design
doors in nj
Contact Us
Privacy Policy
Terms Of Use