Skip to main content
Score of 1
2 answers
277 views

I'm writing some code which will run within an existing C++ program. For reasons, I cannot force my code to be run immediately at program startup, only at a later point. However - I want to determine ...
Score of 0
0 answers
59 views

I have been using the widesII function in adehabitatHS with fish telemetry data to look at design II habitat selection differences in a lake. Simply I've been using the raw detections and the widesII ...
Score of 0
1 answer
115 views

Find the maximum subarray sum (Kadane's Problem) in an array containing negative numbers. Brute force is O(n²)/O(n³) — optimize to O(n). Find all pairs in an array that sum to a target value (return ...
Score of 0
3 answers
183 views

I have created a small function which goal is to print the time every 2 seconds, below the main #include <sys/time.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> ...
Score of 1
0 answers
65 views

Wind financial data exports use an integer time format — 92501020 means 09:25:01.020. The date is another integer, e.g. 20251222. I need to combine them into a DolphinDB TIMESTAMP for sorting and ...
Score of 2
0 answers
135 views

I'm merging US stock and A-share data for cross-market analysis, and need to convert all US Eastern timestamps to UTC. It works fine most of the time, but around the daylight saving time switchover ...
Score of 1
1 answer
108 views

I’m working on a Flutter application where I need to track accurate time (e.g., for attendance, session tracking, or time-based validations). Question: What is the best way to handle accurate time ...
Score of 0
0 answers
178 views

I have cells with times in them. The format I want to replace is something like "7:30:00 AM", though of course the hours could be double digits. After the regex replacement, I would want the ...
Score of 1
0 answers
51 views

I'm working on A-share market data. I have a snapshot table that gets pushed roughly every 3 seconds, but the intervals aren't strictly uniform. I want to aggregate it into 1-minute bars with the ...
Score of 3
1 answer
176 views

I have the following Unix timestamp: time = Time.at(-8_640_000_000_000) # => -271821-04-19 19:00:00 -0500 time.strftime('%B %-d, %Y at %-I:%M %p') # => "April 19, -271821 at 7:00 PM" ...
Score of 0
7 answers
121 views

I am trying to make a command similar to time in Ubuntu that will give me the time taken by the command which follows it on the command prompt. My logic here is to use fork to create a duplicate ...
Score of 0
2 answers
105 views

I'm developing a virtual airline system with PHP. Is there a difference between ETC/Zulu and Zulu in PHP's supported timezone list? Which one should be used?
Score of 6
4 answers
263 views

In "std::format"ing std::chrono seconds without fractional digits, the issue is how to not write the decimal digits when formatting a time_point. A recommendation given in that post was to ...
Score of 3
2 answers
105 views

I am trying to solve the exercise 1.22 in SICP with ChezScheme on my MacOS, I did some reading here and found out I could use time procedure to get the CPU runtime of any other procedure. I couldn't ...
Score of 0
1 answer
33 views

I just had the need to parse an HTTP Expires header and I was somewhat surprised that it wasn't an ISO format and especially by the fact that it names GMT as the time zone. Nowadays the term "GMT&...

15 30 50 per page
1
2 3 4 5
2100