how to check one time is greater than another

getnitha

Member
Joined
Jul 16, 2007
Messages
14
Programming Experience
1-3
hai i am having two times say 8:30 and 9:30 how to check which one is greater .i need to execute a set of instructions if first time is greater than second one and vice versa.plse help me.its urgent
 
VB.NET:
        Dim dt1 As Date = Date.Parse("8:30")
        Dim dt2 As Date = Date.Parse("9:30")
        If dt1 < dt2 Then

        End If
 
Back
Top