Projects / FakeTime Preload Library (libfaketime)

FakeTime Preload Library (libfaketime)

FTPL (FakeTime Preload Library, aka libfaketime) intercepts various system library calls and tricks programs of your choice into seeing a faked system time without having to change the time system-wide. This can be used for running legacy software with Y2K bugs, testing software for year-2038 compliance, debugging time-related issues such as expired SSL certificates, and using software that ceases to run outside a certain time frame. The faked time can be specified either absolutely or relative to the real current time, and optionally also affects file timestamps. The faked clock continues to run, but can optionally be frozen, slowed down, or made faster. A wrapper script "faketime" simplifies the usage, similar to tools such as fakechroot.

Operating Systems

Recent releases

  •  08 Jun 2014 08:17

    Release Notes: A new filter command feature controls which (sub-)processes libfaketime is applied to. Various stability issues were fixed.

    •  13 Oct 2013 09:31

      Release Notes: New features: support for nanosecond resolution, saving timestamps to files, speeding up/slowing down per-process timers, and faking system calls such as sleep() and alarm(). Adds an option to use the same global clock setting for all libfaketime-spawned processes. Support for advancing the time with each time-related system call ("deterministic time"). A new "timeprivacy" wrapper ensures that programs are started with unique timestamps. Fixes: significantly improved support for OSX; fixed support for recent glibc versions; and improved compatibility with multiarch/multilib Linux systems.

      •  21 Jan 2012 14:20

        Release Notes: This release fixes packaging.

        •  12 Jan 2012 20:09

          Release Notes: This release adds improved support for Mac OS X 10.7 (Lion). It also provides several new features on all supported operating systems to limit libfaketime's activities, e.g., to only a certain time interval; and to execute external programs, e.g., shell scripts, at a specified point during run-time.

          •  21 May 2011 22:35

            Release Notes: This is a maintenance release. Changes were made to directory structure and deployment routines.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.