>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 the time is in 24 hour format, just strip out the separator sign i.e. ":" and compare the val() for the two character strings.
Einar
Semper ubi sub ubi.