From: Mars G Miro <mars@cannoncreek.com>
To: pgsql-sql@postgresql.org
To: pgsql-general@postgresql.org
Subject: epoch to show millseconds
Date: Thu, 12 Jul 2001 08:39:30 +0800
Message-ID: <01071208393000.07133@hellraiser.cannoncreek.com> (raw)
Hi All
I've searched the archives, but it seems that there's no mention of this.
Basically, what I want to do is to show the milliseconds value.
When I do a:
sample=# select date_part('epoch', current_timestamp);
date_part
-----------
994832815
how do I make it accurate up to milliseconds value? the above is only up to
seconds.
This is on Postgresql-7.0.3, btw.
Thanks!
cheers
mars
PS. pls CC me as I'm not subscribed
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: mars@cannoncreek.com, pgsql-general@postgresql.org
Subject: Re: epoch to show millseconds
In-Reply-To: <01071208393000.07133@hellraiser.cannoncreek.com>
* 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