Top "Systemtime" questions

In computer science and computer programming, system time represents a computer system's notion of the passing of time.

Unit Testing: DateTime.Now

I have some unit tests that expects the 'current time' to be different than DateTime.Now and I don't want …

c# unit-testing datetime mstest systemtime
Override Java System.currentTimeMillis for testing time sensitive code

Is there a way, either in code or with JVM arguments, to override the current time, as presented via System.…

java testing jvm systemtime
How can I set the System Time in Java?

Is it possible to change the System Time in Java? It should run under Windows and Linux. I've tried it …

java systemtime
How can I mock java.time.LocalDate.now()

In my test case, I need test time sensitive method, in that method we're using java 8 class LocalDate, it is …

java java-8 java-time systemtime
Getting getrusage() to measure system time in C

I would like to measure the system time it takes to execute some code. To do this I know I …

c time systemtime getrusage
difference between two SYSTEMTIME variable

I want to get difference between two SYSTEMTIME variable. I saw someone asked this question here before, but he was …

c++ windows systemtime
Invalid max count in grep function

If I do a find . -mmin -1 I get 'myfile' which was modified in last one minute. But when I …

linux unix find grep systemtime
Change time by clicking on . bat in windows

I am developing a system where several i'm having to change date to Sunday February 06 3:30:50 AM. Is there any way …

windows-7 cmd batch-file systemtime
How to prevent usage of expired license through system clock tampering?

I am currently working on a license manager using java, I will be specifying a start and end date for …

java licensing ntp systemtime
Can a batch file change the system date; save file with attributes; change date back to current date?

Can a batch file change the system date; save file with attributes; change date back to current date? Goal to …

windows batch-file systemtime file-attributes filetime