In computer science and computer programming, system time represents a computer system's notion of the passing of time.
Questions tagged [systemtime]
171 questions
0
votes
0 answers
Is there a way to continuously display the system time on the Chrome browser panel?
how can I have my system time to be displayed in chrome browser panel while working, I always keep my task bar on auto hide mode, every time I don't want to go down to check the time, is there any way to have it displayed in/on my browser and…
0
votes
4 answers
C++ System Time returning the same wrong value
I want to retrieve the last write date on a file. I have written this code for it, but it returns me 52428 in values like "Year" all the time
int LastErrorCode;
LPCSTR Path = "C:/Users/Username/Desktop/Picture.PNG";
WIN32_FIND_DATA…

Janman
- 698
- 1
- 9
- 25
0
votes
0 answers
Python code works in IDE but when compiled in a .exe it doesn't work
I have written a basic program that takes the current internet time and adjusts the system time to be 2 mins ahead. The code can be seen below:
from datetime import timedelta
from datetime import datetime
import win32api
from urllib.request import…

user5438246
- 31
- 7
0
votes
0 answers
JavaMailSender can't send email when setting pc time to the past
I want to testing send mail using JavaMailSender,the code work fine but when I setting my pc time to the past it throw this exception.
Could not convert socket to TLS
Here is my code
MimeMessageHelper message = new…

EasyU
- 11
- 1
0
votes
1 answer
Can I query a materialized view in bigquery with for a particular system time?
Once a materialized view in BQ is created, can I do point in time queries using the "for system time as of" syntax? I see limitations in the creation of them here around creation of a materialized view but I couldn't find anything that said there's…

CCguy
- 29
- 2
- 8
0
votes
0 answers
Changing SystemTime freezes WPF buttons
I faced a very weird situation. I'm working on an C# WPF application with MVVM pattern. The app has a page from where user can change system time. And there is a NEXT button, which is binded to an AsyncCommand.
The problem occurs when I press the…

Cristian Stirbe
- 97
- 2
- 6
0
votes
2 answers
How do I change system time from a non elevated c# program
I need your help again :)
What I want to do:
I have a c# program which runs with normal user permissions - those can't be raised - and I want to change the system date (not time) from that program.
[EDIT] To be a bit more specific: I do have…

Michael
- 1,931
- 2
- 8
- 22
0
votes
2 answers
Reading a file from a position in R
I have a large plain text file to be read in R, where all data is contained at the same line with no spaces (DNA sequence with no header). I found the next function:
readChar("filename",nchar=n)
which allows to read just the "n" first elements of…

Tomás Navarro
- 160
- 1
- 1
- 7
0
votes
1 answer
How can I extract the numeric value from the time difference generated by Sys.time() in R?
t1 <- Sys.time()
mean((rnorm(10000))^2)
t2 <- Sys.time()
print(t2-t1)
print(" ")
t1 <- Sys.time()
mean((rnorm(10000))^2)
t2 <- Sys.time()
print(difftime(t2, t1, units = "secs")[[1]])
I want to compare the time efficiency of a few algorithms for…

Paw in Data
- 1,262
- 2
- 14
- 32
0
votes
1 answer
Setting system time windows 10 without elevation
So I've read a few questions regarding setting the system time on Windows 10 and the requirement to either have the process elevated or disabling the UAC on the machine. The issue I face is that I am not able to do either.
So to give clarity, I'm…

Joandre Tait
- 23
- 1
- 8
0
votes
2 answers
C++/CLI: SYSTEMTIME Programming Error
I'm trying to make a little alert system to do something (IDK what I want yet) when a certain time arrives. However, I'm getting all these errors when I run that code in a WinForm after some brief changes. But this code (unchanged) worked in my…

Francis Lau
- 13
- 7
0
votes
0 answers
SetSystemTime crashes Windows 10 if write filters are on
I have a problem whereby sometimes (I haven't yet managed to figure out a pattern, it only happens every few times I try) if my application changes the windows time using SetSystemTime(), Windows crashes.
And by this I mean a message pops up with…

komodosp
- 3,316
- 2
- 30
- 59
0
votes
1 answer
Getting KeyError: 859 while running system time for loop code in python
Here is the code
%%time
xrange=range
print ("Cleaning and parsing the tweets...\n")
clean_tweet_texts = []
for i in xrange(nums[0],nums[1]):
if( (i+1)%10000 == 0 ):
print( "Tweets %d of %d has been processed" % ( i+1, nums[1] ))
…

Veeresh Shringari
- 13
- 2
0
votes
1 answer
How to mock the minute value when mocking LocalDateTime?
I referred to this answer How can I mock java.time.LocalDate.now() on how to mock my LocalDateTime.now() call. I essentially followed all the steps but just used LocalDateTime instead of LocalDate.
The functionality of my code is such that is…

Jvalant Dave
- 511
- 1
- 3
- 18
0
votes
1 answer
Get system time from a remote pc
Is there a way to get the system time from a remote PC in java?
The remote PC is in the same network as the client pc.
There are some clients with a java gui. The guis should log in the same file on the remote PC. For this I use the…

DripleX
- 81
- 1
- 4
- 13