You can use DateTime.TryParseExact Method and DateTime.TimeOfDay Property as below
string value = "13:00:36";
DateTime dt;
if (DateTime.TryParseExact(value, "HH:mm:ss", CultureInfo.InvariantCulture,
DateTimeStyles.None, out dt))
{
if (dt.TimeOfDay > DateTime.Now.TimeOfDay)
{
// greater than actual time
}
else
{
// smaller than actual time
}
}
Since you have time in string format it is difficult to compare. What you can do is convert it to Datetime by giving correct format string. Now you have two DateTime objects and you can get Time of those object by TimeOfDay
property and compare..