>I want to compare two variable which is in character type. These two variables contain hours . I want to know which one is the most recent
If both are consistant in the format, say a 24 hour time, a simple string compare works.
cTa = "10:20:30"
cTb = "14:25:10"
?cTa < cTb
?cTa > cTb