Re: [PHP-DEV] timeoffset per process

2005-02-09 Thread Jochem Maas
Lukas Smith wrote: Jochem Maas wrote: ... maybe install a test setup on your local machine? then you can mess with the local time, no problems? this is what I do now, but obviously its far from ideal, especially since you also want to be able to run your tests on your production server to check

Re: [PHP-DEV] timeoffset per process

2005-02-09 Thread Lukas Smith
Jochem Maas wrote: Lukas Smith wrote: Hi, I am currently writing test cases for time sensitive code. Meaning this code behaves different depending on the time of day. Obviously one solution is to mess with the server time, but that is going to screw up anything else going on the server. The onl

Re: [PHP-DEV] timeoffset per process

2005-02-09 Thread Jochem Maas
Lukas Smith wrote: Hi, I am currently writing test cases for time sensitive code. Meaning this code behaves different depending on the time of day. Obviously one solution is to mess with the server time, but that is going to screw up anything else going on the server. The only solution that I h

[PHP-DEV] timeoffset per process

2005-02-09 Thread Lukas Smith
Hi, I am currently writing test cases for time sensitive code. Meaning this code behaves different depending on the time of day. Obviously one solution is to mess with the server time, but that is going to screw up anything else going on the server. The only solution that I have currently come