Hello,
Im trying to compare 2 strings to set a label an specific text depending on the result of the comparison.
String 1: 22:10:10 (24h time)
String 2: 03:50 (24h time)
How could i detect if earlier than "03:50"?
Hello,
Im trying to compare 2 strings to set a label an specific text depending on the result of the comparison.
String 1: 22:10:10 (24h time)
String 2: 03:50 (24h time)
How could i detect if earlier than "03:50"?
http://msdn.microsoft.com/en-us/library/system.datetime.compare.aspx ,, to Compare them
http://stackoverflow.com/questions/919244/converting-string-to-datetime-c-net ,, to convert into datetime
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.