FW: Timezone option
Jaakko Hyvätti
jaakko.hyvatti at foreca.com
Wed May 26 02:29:15 UTC 2010
Hi,
You could create a dynamic library that replaces necessary system calls,
like calls to time() or gettimeofday(), and link it or load it to your
application with LD_LIBRARY_PRELOAD environment variable. libc versions
of these syscalls are weak symbols and user libraries override them.
Jaakko
> From: honey bajaj [mailto:honeybajaj1 at rediffmail.com]
> Sent: Tuesday, May 25, 2010 3:36
> To: tz at lecserver.nci.nih.gov
> Subject: Timezone option
>
> Hi,
>
> I have a testing requirement which needs to alter the system date to a
> couple of days ahead of current date. I am wondering if its possible to
> have a custom timezone which can provide this date change ability to
> drift the current time to couple of days ahead by setting the TZ
> environment variable.
>
> Regards,
--
Foreca Ltd Jaakko.Hyvatti at foreca.com
Tammasaarenkatu 5, FI-00180 Helsinki, Finland http://www.foreca.com
More information about the tz
mailing list