python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Get distinct values within time chunks
I have a table with different species and their occurences (timestamp) from field survey:
species | timestamp
A | 2021-04-01T12:35
A | 2021-04-01T12:36
B | 2021-04-01T12:36
A |...
EndorCartographer
Votes: 0
Answers: 1
ServiceStack TimeSpan Serialization can't be Cast by SQL to Time(7)
When TimeSpan properties are serialized they end up looking like this: -PT10M, PT30S, or PT6H. My real problem is that in MSSQL I can't use the Cast function to get them to a Time so if there's an ea...

LorneCash
Votes: 0
Answers: 0
C# to C++: Convert C# Time calculation to C++ chrono
I've got the task to convert some C# code to C++ and I've problems with chrono. Goal is to round a time to a variable time span.
C#:
int iRoundTo = 30; // can be 45 or other variable value, not a cons...
Mighty
Votes: 0
Answers: 2
Blazor - Value saved in TimeSpan doesn't go through HttpPost
I am using this class (representing goal) as model:
public class Goal
{
public int Id { get; set; }
public int UserId { get; set; }
public String Name { get; set; }
public List<Goal...
Petr F.
Votes: 0
Answers: 1