Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229414

Re: setting the date for testing

From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: setting the date for testing
Date 2020-12-07 15:30 +0100
Message-ID <BjpGy-GP-1@gated-at.bofh.it> (permalink)
References <Bj98K-6W2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Dec 06, 2020 at 08:43:51PM +0000, Michael Grant wrote:
>I need to set the date to several years in the future in order to test
>something.  When I do this via the date command, the date returns back almost
>instantly (or within a few seconds).

Depending on what you're doing you may want to look at the faketime or 
datefudge packages.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

setting the date for testing Michael Grant <mgrant@grant.org> - 2020-12-06 21:50 +0100
  Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-06 22:00 +0100
  Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-07 09:00 +0100
    RE: setting the date for testing Michael Grant <mgrant@grant.org> - 2020-12-13 14:40 +0100
      Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-13 15:10 +0100
        Re: setting the date for testing Michael Grant <mgrant@grant.org> - 2020-12-13 16:40 +0100
          Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-13 17:00 +0100
  Re: setting the date for testing Michael Stone <mstone@debian.org> - 2020-12-07 15:30 +0100

csiph-web