| From: | Mars G Miro <mars(at)cannoncreek(dot)com> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
| Subject: | epoch to show millseconds |
| Date: | 2001-07-12 00:39:30 |
| Message-ID: | 01071208393000.07133@hellraiser.cannoncreek.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-sql |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2001-07-12 00:49:21 | setXXX patches |
| Previous Message | Bruce Momjian | 2001-07-11 23:52:37 | Re: Re: Debian's PostgreSQL packages |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fernando Eduardo B. L. e Carvalho | 2001-07-12 11:33:54 | C Functions |
| Previous Message | Kristis Makris | 2001-07-11 23:23:48 | Re: trigger on DELETE |