Re: How do I set the system time on production server?

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Ken Corey <ken(dot)corey(at)atomic-interactive(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How do I set the system time on production server?
Date: 2002-03-20 17:03:01
Message-ID: 1016643782.21170.72.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(dot)Elphick(at)lfix(dot)co(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Patrick Hatcher 2002-03-20 17:04:01 Re: What is Syntax for multiple FULL OUTER JOINS?
Previous Message Ian Barwick 2002-03-20 16:58:39 Re: How do I set the system time on production server?