Re: Time Formats - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: Time Formats
Date
Msg-id 20010112144528.A23424@wolff.to
Whole thread Raw
In response to Time Formats  (Jeffery L Post <postjeff@uwm.edu>)
Responses Re: Time Formats
List pgsql-general
On Fri, Jan 12, 2001 at 02:02:28PM -0600,
  Jeffery L Post <postjeff@uwm.edu> wrote:
> Is there any way to have a time datatype returned in various formats?
>
> ex. 1:30 PM
>
> Maybe by setting a session variable?

You can use to_char in a query to convert a date and/or time into a character
string in the format you want.

pgsql-general by date:

Previous
From: Jeffery L Post
Date:
Subject: Time Formats
Next
From: "Martin A. Marques"
Date:
Subject: Re: still no log