Skip to main content
2 votes
1 answer
39 views

I need to store some store hours that exist in different time zones and may be interacted with in different timezones through an admin portal where it will display store time and local time. I know ...
NoxSicarius's user avatar
Advice
0 votes
4 replies
148 views

here is my solution to the leetcode "longest consecutive sequence" problem: class Solution: def longestConsecutive(self, nums: List[int]) -> int: if len(nums) == 0: ...
Leopold's user avatar
-1 votes
0 answers
49 views

This one is a bit of a double question, I am creating a database for an assignment on SQL. I'm making some tables, the code for the two I need help with listed below. For my bookings table, I need the ...
Skye Forbes's user avatar
9 votes
2 answers
679 views

C++, using <chrono>, I would like to get a value formatted as <seconds>.<milliseconds>. I am using system_clock and get the current seconds as: auto secs = duration_cast<seconds&...
Ender's user avatar
  • 1,882
1 vote
1 answer
186 views

The program I am using has a small section for programming which is almost similar to the Delphi programming language. In the components section, there is no timer and I want to create it myself. {$...
Ebrahim's user avatar
  • 25
1 vote
1 answer
65 views

I'm building a non-GPL kernel module (non-negotiable) and in order to get timing information everywhere I look here and elsewhere tells me to use the new ktime_* API, but when I build I get this error:...
Ken Y-N's user avatar
  • 15.2k
0 votes
1 answer
127 views

I'm exporting some data from Snowflake to Rstudio and do some data processing. After that I write the data back to Snowflake. The problem is that somehow the timestamp initiale from Snowflake is ...
Quinten's user avatar
  • 42.8k
0 votes
0 answers
37 views

so i am trying to run a matter instance in a worker thread. Im running it with my own loop as shown below. However I'm experiencing trouble with game pacing. Before getting to the explanation here is ...
lord_drgical's user avatar
1 vote
1 answer
55 views

I am creating an activity tracker in Google Sheets: In column B, I want to be able to track the total time doing activity ("Ac.") B. So I want to be able to sum the difference between (in ...
Stuart L's user avatar
  • 165
-3 votes
1 answer
66 views

import pyautogui import time def RunD(Down, Up): #Up is the parameter that creates the delay pyautogui.keyDown('d') pyautogui.mouseDown(button='left') time.sleep(Down) pyautogui.keyUp('...
Fares Dhouib's user avatar
1 vote
3 answers
195 views

I am developing a Python script to pass a challenging minigame in a single-player title. My goal is to unlock a specific achievement within this game, a task I've spent over 10 hours attempting ...
Hilda's user avatar
  • 19
0 votes
0 answers
64 views

I am currently working on a beam propagation code. The code basically consists of a transversal profile (a 2000x2000 array) which is propagated a small distance, then has its borders filtered, then ...
Henrique Guerra's user avatar
0 votes
1 answer
64 views

I'd like to transform -238204800 seconds to "1962:06:15 00:00:00", using python 3.8. My code is : from time import strftime, localtime secs = -238204800 print(strftime("%Y:%m:%d %H:%M:%...
Eric H.'s user avatar
  • 2,279
0 votes
1 answer
182 views

Using the below code I would have assumed so see cnt be close to 0, but on Windows I see only values above 500,000. from time import * def test_time(f, c): cnt = 0 for i in range(c): ...
culicidae's user avatar
1 vote
2 answers
451 views

I have been reading various ways of making a mock for time.Now() and try to make the unit test. Let's say we have a Customer struct. type Customer struct { Name string CreatedDate sql....
Prabowo Murti's user avatar

15 30 50 per page
1
2 3 4 5
2102