Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: time change

by vinoth.ree (Parson)
on Feb 18, 2014 at 14:31 UTC ( #1075341=note: print w/ replies, xml ) Need Help??


in reply to time change

Hi,

If you are on Linux, you can just use the date command and can change the date and time to future date and you can do the test.

Changing the date and time:

Changing the date and time requires two steps. First, Linux's date and time must be changed and then the new time has to be written to the hardware clock. The date command can be used for both viewing and changing the date and time.


All is well


Comment on Re: time change
Download Code
Re^2: time change
by ag4ve (Monk) on Feb 18, 2014 at 14:37 UTC
    Yeah, I was hoping not to need to touch any part of the system or environment (ie, changing the actual date even if it's not written to hardware - synctohc). However, overriding the functions with *CORE::GLOBAL should work (since it's done on compile time and should affect all modules that call those functions).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1075341]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-09-01 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (13 votes), past polls