Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: time change

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

in reply to time change


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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2015-11-25 17:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (684 votes), past polls