Compare Dates from textinput

I have two columns type dhxCalendar then i get tow values. How can i compare 2 values type string? I have problem when i change month :S how can i do this comparison between 2 dates type string. Thanks!

There is no inbuild functionality to compare 2 dates. You can get value of the dhxCalendar cells using getValue() method and then using JavaScript functions convert them to the date object. For more information please check JavaScript reference.