Top "Compare" questions

The analysis required to assess the differences and similarities between two or more entities.

How can I compare two dates in PHP?

How can I compare two dates in PHP? The date is stored in the database in the following format 2011-10…

php date compare
How to compare type of an object in Python?

Basically I want to do this: obj = 'str' type ( obj ) == string I tried: type ( obj ) == type ( string ) and it didn't …

python types compare
How to compare binary files to check if they are the same?

What is the easiest way (using a graphical tool or command line on Ubuntu Linux) to know if two binary …

file binary compare diff
Mysql Compare two datetime fields

I want to compare two dates with time, I want all the results from tbl where date1 > date2 Select * …

mysql datetime compare field
Easiest way to compare arrays in C#

In Java, Arrays.equals() allows to easily compare the content of two basic arrays (overloads are available for all the …

c# .net arrays compare
How to compare two date values with jQuery

I have two String fields which represent Dates in my page and I would like to compare these two fields …

jquery date compare
Case insensitive comparison of strings in shell script

The == operator is used to compare two strings in shell script. However, I want to compare two strings ignoring case, …

string shell compare case-insensitive
How to compare 2 files fast using .NET?

Typical approaches recommend reading the binary via FileStream and comparing it byte-by-byte. Would a checksum comparison such as CRC be …

c# file compare checksum
Generic deep diff between two objects

I have two objects: oldObj and newObj. The data in oldObj was used to populate a form and newObj is …

javascript object compare
How to compare two java objects

I have two java objects that are instantiated from the same class. MyClass myClass1 = new MyClass(); MyClass myClass2 = new MyClass(); …

java object compare