rp
asked on
Convert to Hour/minute textbox and compare
Hi,
I have a datatable column with date/time type and extract hour:minute from:
ActualTime = CDate(Format(Tb.Rows.Item( 0)("Exit") , "HH:mm"))
And i have a textbox with a hour:minute text format :
ReferenceTime.Text= "08:30"
I need to compare if the ActualTime is bigger or not than ReferenceTime.
How can convert ReferenceTime.Text to Hour/minute format to compare.
best regards
I have a datatable column with date/time type and extract hour:minute from:
ActualTime = CDate(Format(Tb.Rows.Item(
And i have a textbox with a hour:minute text format :
ReferenceTime.Text= "08:30"
I need to compare if the ActualTime is bigger or not than ReferenceTime.
How can convert ReferenceTime.Text to Hour/minute format to compare.
best regards
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dim Out As Integer = DateTime.Compare(ActualTim
Open in new window