X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id C55009FA5C3 for ; Wed, 14 Jun 2006 01:27:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 01236-01 for ; Wed, 14 Jun 2006 01:27:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by postgresql.org (Postfix) with ESMTP id C00989FA3C0 for ; Wed, 14 Jun 2006 01:27:13 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id a2so122128ugf for ; Tue, 13 Jun 2006 21:27:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=eynfF8yWva30H1PYOaBFSsssaluRt6f1iVoZ05y9pu9CETQHViyZcN7W7+rRGBwcwq0uUvf0jXv6zaGh8IFuieTT/Wpp3TqgC/+KRs0TjTKqe9fgKMqgFZt34AH2dr0oW0upWMRfDzNile6J0vely1+YlH0mclc6sxVm7MXbkkc= Received: by 10.67.103.7 with SMTP id f7mr272680ugm; Tue, 13 Jun 2006 21:27:12 -0700 (PDT) Received: by 10.67.20.12 with HTTP; Tue, 13 Jun 2006 21:27:12 -0700 (PDT) Message-ID: Date: Tue, 13 Jun 2006 23:27:12 -0500 From: "Aaron Bono" To: "chester c young" Subject: Re: to_char with time Cc: pgsql-sql@postgresql.org In-Reply-To: <20060614040934.1411.qmail@web54313.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060614040934.1411.qmail@web54313.mail.yahoo.com> X-Google-Sender-Auth: 0540ecd1a311fa4f X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/149 X-Sequence-Number: 25385 Try select to_char(now(),'HH24:MI'); -Aaron On 6/13/06, chester c young wrote: > this does not work: select to_char(current_time,'HH24:MI') > > what am I missing? is it possible to format a time column in a select? > > thanks, > stumped, aka, chester