Sumit Kumawat

Sumit Kumawat

  • NA
  • 454
  • 415.8k

How to compare time which is in string format in c#?

Feb 26 2013 6:42 AM

Hi all,

i am working on one app which will compare two different time. According to comparison it will do further task.

i am taking both time in strings like below;

string tym_one = "17:04";

string tym_two = "19:00";

I am not able to compare both strings.

please help me to compare this.


Answers (2)