How to pause system time on Windows? [closed]












2















I am intereseted in any method of making sure that functions such as the C++ now() return the same thing when called multiple times in a row.



The ideal solution is reversible and works on a Windows 10 laptop (CMOS battery not removable).










share|improve this question













closed as off-topic by Appleoddity, DavidPostill Dec 21 '18 at 21:53


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1





    This doesn’t make a lot of sense. now() returns the current system time and the current system time is always progressing. If you want a function to return the same value every time you call it then make your own new function. Wrap the now() function if necessary.

    – Appleoddity
    Dec 21 '18 at 6:07






  • 1





    @Appleoddity well, this is exactly what I am interested in: a way of stopping the progression of the current system time.

    – Bogdan Ionică
    Dec 21 '18 at 6:14






  • 1





    If you're using code and the now() function or whatever and when you call that function you set a variable with that time, and then you just reference that same variable later on and it will retain the same time as long as you code the logic accordingly so you set the variable like that and ensure your additional logic doesn't change it. When you call now() it will get "current" time, so set the first now() current time as a variable that will not change and just reference that variable rather than using now() on subsequent runs of that logic.

    – Pimp Juice IT
    Dec 21 '18 at 6:48













  • I.e declare my_now() and code it as if testing, return same value, else call now()

    – Mawg
    Dec 21 '18 at 7:19











  • Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.

    – DavidPostill
    Dec 21 '18 at 21:53
















2















I am intereseted in any method of making sure that functions such as the C++ now() return the same thing when called multiple times in a row.



The ideal solution is reversible and works on a Windows 10 laptop (CMOS battery not removable).










share|improve this question













closed as off-topic by Appleoddity, DavidPostill Dec 21 '18 at 21:53


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.









  • 1





    This doesn’t make a lot of sense. now() returns the current system time and the current system time is always progressing. If you want a function to return the same value every time you call it then make your own new function. Wrap the now() function if necessary.

    – Appleoddity
    Dec 21 '18 at 6:07






  • 1





    @Appleoddity well, this is exactly what I am interested in: a way of stopping the progression of the current system time.

    – Bogdan Ionică
    Dec 21 '18 at 6:14






  • 1





    If you're using code and the now() function or whatever and when you call that function you set a variable with that time, and then you just reference that same variable later on and it will retain the same time as long as you code the logic accordingly so you set the variable like that and ensure your additional logic doesn't change it. When you call now() it will get "current" time, so set the first now() current time as a variable that will not change and just reference that variable rather than using now() on subsequent runs of that logic.

    – Pimp Juice IT
    Dec 21 '18 at 6:48













  • I.e declare my_now() and code it as if testing, return same value, else call now()

    – Mawg
    Dec 21 '18 at 7:19











  • Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.

    – DavidPostill
    Dec 21 '18 at 21:53














2












2








2


1






I am intereseted in any method of making sure that functions such as the C++ now() return the same thing when called multiple times in a row.



The ideal solution is reversible and works on a Windows 10 laptop (CMOS battery not removable).










share|improve this question














I am intereseted in any method of making sure that functions such as the C++ now() return the same thing when called multiple times in a row.



The ideal solution is reversible and works on a Windows 10 laptop (CMOS battery not removable).







windows windows-10 time code






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 21 '18 at 6:03









Bogdan IonicăBogdan Ionică

112




112




closed as off-topic by Appleoddity, DavidPostill Dec 21 '18 at 21:53


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by Appleoddity, DavidPostill Dec 21 '18 at 21:53


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.








  • 1





    This doesn’t make a lot of sense. now() returns the current system time and the current system time is always progressing. If you want a function to return the same value every time you call it then make your own new function. Wrap the now() function if necessary.

    – Appleoddity
    Dec 21 '18 at 6:07






  • 1





    @Appleoddity well, this is exactly what I am interested in: a way of stopping the progression of the current system time.

    – Bogdan Ionică
    Dec 21 '18 at 6:14






  • 1





    If you're using code and the now() function or whatever and when you call that function you set a variable with that time, and then you just reference that same variable later on and it will retain the same time as long as you code the logic accordingly so you set the variable like that and ensure your additional logic doesn't change it. When you call now() it will get "current" time, so set the first now() current time as a variable that will not change and just reference that variable rather than using now() on subsequent runs of that logic.

    – Pimp Juice IT
    Dec 21 '18 at 6:48













  • I.e declare my_now() and code it as if testing, return same value, else call now()

    – Mawg
    Dec 21 '18 at 7:19











  • Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.

    – DavidPostill
    Dec 21 '18 at 21:53














  • 1





    This doesn’t make a lot of sense. now() returns the current system time and the current system time is always progressing. If you want a function to return the same value every time you call it then make your own new function. Wrap the now() function if necessary.

    – Appleoddity
    Dec 21 '18 at 6:07






  • 1





    @Appleoddity well, this is exactly what I am interested in: a way of stopping the progression of the current system time.

    – Bogdan Ionică
    Dec 21 '18 at 6:14






  • 1





    If you're using code and the now() function or whatever and when you call that function you set a variable with that time, and then you just reference that same variable later on and it will retain the same time as long as you code the logic accordingly so you set the variable like that and ensure your additional logic doesn't change it. When you call now() it will get "current" time, so set the first now() current time as a variable that will not change and just reference that variable rather than using now() on subsequent runs of that logic.

    – Pimp Juice IT
    Dec 21 '18 at 6:48













  • I.e declare my_now() and code it as if testing, return same value, else call now()

    – Mawg
    Dec 21 '18 at 7:19











  • Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.

    – DavidPostill
    Dec 21 '18 at 21:53








1




1





This doesn’t make a lot of sense. now() returns the current system time and the current system time is always progressing. If you want a function to return the same value every time you call it then make your own new function. Wrap the now() function if necessary.

– Appleoddity
Dec 21 '18 at 6:07





This doesn’t make a lot of sense. now() returns the current system time and the current system time is always progressing. If you want a function to return the same value every time you call it then make your own new function. Wrap the now() function if necessary.

– Appleoddity
Dec 21 '18 at 6:07




1




1





@Appleoddity well, this is exactly what I am interested in: a way of stopping the progression of the current system time.

– Bogdan Ionică
Dec 21 '18 at 6:14





@Appleoddity well, this is exactly what I am interested in: a way of stopping the progression of the current system time.

– Bogdan Ionică
Dec 21 '18 at 6:14




1




1





If you're using code and the now() function or whatever and when you call that function you set a variable with that time, and then you just reference that same variable later on and it will retain the same time as long as you code the logic accordingly so you set the variable like that and ensure your additional logic doesn't change it. When you call now() it will get "current" time, so set the first now() current time as a variable that will not change and just reference that variable rather than using now() on subsequent runs of that logic.

– Pimp Juice IT
Dec 21 '18 at 6:48







If you're using code and the now() function or whatever and when you call that function you set a variable with that time, and then you just reference that same variable later on and it will retain the same time as long as you code the logic accordingly so you set the variable like that and ensure your additional logic doesn't change it. When you call now() it will get "current" time, so set the first now() current time as a variable that will not change and just reference that variable rather than using now() on subsequent runs of that logic.

– Pimp Juice IT
Dec 21 '18 at 6:48















I.e declare my_now() and code it as if testing, return same value, else call now()

– Mawg
Dec 21 '18 at 7:19





I.e declare my_now() and code it as if testing, return same value, else call now()

– Mawg
Dec 21 '18 at 7:19













Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.

– DavidPostill
Dec 21 '18 at 21:53





Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.

– DavidPostill
Dec 21 '18 at 21:53










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...