pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: michaelrush@gmail.com
Cc: pgsql-docs@postgresql.org
Subject: Re: Error in to_timestamp() example
Date: Thu, 29 Dec 2016 18:08:50 -0500
Message-ID: <28917.1483052930@sss.pgh.pa.us> (raw)
In-Reply-To: <20161229170043.10139.21416@wrigleys.postgresql.org>
References: <20161229170043.10139.21416@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

michaelrush@gmail.com writes:
> In this example:

> &gt; Here is a more complex example: to_timestamp(&#39;15:12:02.020.001230&#39;,
> &#39;HH:MI:SS.MS.US&#39;) is 15 hours, 12 minutes, and 2 seconds + 20 milliseconds +
> 1230 microseconds = 2.021230 seconds.

> HH needs to be HH24

You're right, thanks for reporting it.

			regards, tom lane


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (2+ messages)

Message-ID: <28917.1483052930@sss.pgh.pa.us>
Permalink:  ../28917.1483052930@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28917.1483052930@sss.pgh.pa.us

 · 

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-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michaelrush@gmail.com
  Subject: Re: Error in to_timestamp() example
  In-Reply-To: <28917.1483052930@sss.pgh.pa.us>

* 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