how to compare two date of type timestamp?
Accepted answer
I assume that you are talking about JavaScript. In this case, you need to parse the value (most likely a string) into a date value, then compare.
http://www.w3schools.com/js/js_date_methods.asp
If for some reason you are referring to Java, see samples below.
http://javarevisited.blogspot.com.au/2012/02/3-example-to-compare-two-dates-in-java.html
http://www.w3schools.com/js/js_date_methods.asp
If for some reason you are referring to Java, see samples below.
http://javarevisited.blogspot.com.au/2012/02/3-example-to-compare-two-dates-in-java.html