Top "Datetime-comparison" questions

How to do date/time comparison

Is there any options in doing date comparison in Go? I have to sort data based on date and time …

datetime go datetime-comparison
How to compare only date components from DateTime in EF?

I am having two date values, one already stored in the database and the other selected by the user using …

c# linq entity-framework linq-to-entities datetime-comparison
How do I perform Date Comparison in EF query?

Please help. I am trying to figure out how to use DATE or DATETIME for comparison in a linq query. …

c# linq datetime linq-to-entities datetime-comparison
Why datetime cannot compare?

my C# unit test has the following statement: Assert.AreEqual(logoutTime, log.First().Timestamp); Why it is failed with following …

c# unit-testing datetime-comparison
Safely comparing local and universal DateTimes

I just noticed what seems like a ridiculous flaw with DateTime comparison. DateTime d = DateTime.Now; DateTime dUtc = d.ToUniversalTime(); …

c# .net .net-4.0 datetime-comparison
php comparing dates for day change

I have found hundreds of questions and answers for topics SIMILAR to this on SO, however, none match my needs …

php date comparison datetime-comparison
Checking if LocalDateTime falls within a time range

I have a time A which should fall within 90 minutes range of timeB (before and after). Example: if timeB is 4:00 …

datetime java-8 java-time localtime datetime-comparison
ZonedDateTime comparison: expected: [Etc/UTC] but was: [UTC]

I was comparing two dates which seem to be equal, but they contain a different name of zones: one is …

java date datetime zoneddatetime datetime-comparison