Top "Compare" questions

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

Linq where clause compare only date value without time value

var _My_ResetSet_Array = _DB .tbl_MyTable .Where(x => x.Active == true && x.DateTimeValueColumn <= DateTime.Now) .…

c# entity-framework datetime linq-to-entities compare
bash string compare to multiple correct values

i have the following piece of bashscript: function get_cms { echo "input cms name" read cms cms=${cms,,} if [ "$cms" != "…

string bash comparison compare
Compare 2 JSON objects

Possible Duplicate: Object comparison in JavaScript Is there any method that takes in 2 JSON objects and compares the 2 to see …

javascript json compare
PHP compare two arrays and get the matched values not the difference

I'm trying to compare two arrays and get only the values that exist on both arrays but, unfortunately, I can't …

php arrays compare match
Checking for duplicate strings in JavaScript array

I have JS array with strings, for example: var strArray = [ "q", "w", "w", "e", "i", "u", "r"]; I need to …

javascript arrays compare
comparing elements of the same array in java

I am trying to compare elements of the same array. That means that i want to compare the 0 element with …

java arrays compare elements between
MongoDb query condition on comparing 2 fields

I have a collection T, with 2 fields: Grade1 and Grade2, and I want to select those with condition Grade1 > …

mongodb compare
Compare two dates in Java

I need to compare two dates in java. I am using the code like this: Date questionDate = question.getStartDate(); Date …

java compare date
Check if enum exists in Java

Is there anyway to check if an enum exists by comparing it to a given string? I can't seem to …

java string enums compare
Find oldest/youngest datetime object in a list

I've got a list of datetime objects, and I want to find the oldest or youngest one. Some of these …

python datetime compare