pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: Ken Corey <ken.corey@atomic-interactive.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How do I set the system time on production server?
Date: 20 Mar 2002 17:03:01 +0000
Message-ID: <1016643782.21170.72.camel@linda> (raw)
In-Reply-To: <E16lvXk-0006mI-00@arrows.timewarp.co.uk>
References: <E16lvXk-0006mI-00@arrows.timewarp.co.uk>

On Fri, 2002-03-15 at 17:29, Ken Corey wrote:
Seeing this is dated 15th March, you may have hade a reply already, but
I haven't seen it. 

> Lots of queries about dates, times, or how to find the current system 
> time...but not how to SET the current system date.

As root:

  date 032017012002.32

will set the date to 2002-03-20 17:01:32

See the manual page for date.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C

     "I am crucified with Christ; nevertheless I live; yet 
      not I, but Christ liveth in me; and the life which I 
      now live in the flesh I live by the faith of the Son 
      of God, who loved me, and gave himself for me."       
                                 Galatians 2:20 




view thread (8+ messages)  latest in thread

Message-ID: <1016643782.21170.72.camel@linda>
Permalink:  ../1016643782.21170.72.camel@linda/
Also on:    postgresql.org/message-id/1016643782.21170.72.camel@linda

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olly@lfix.co.uk, ken.corey@atomic-interactive.com
  Subject: Re: How do I set the system time on production server?
  In-Reply-To: <1016643782.21170.72.camel@linda>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox