<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Forum PostgreSQL - Problem z TIME.]]></title>
		<link>https://forum.postgresql.org.pl/viewtopic.php?id=221</link>
		<description><![CDATA[Najświeższe odpowiedzi w Problem z TIME..]]></description>
		<lastBuildDate>Wed, 03 Jun 2009 19:02:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Odp: Problem z TIME.]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=927#p927</link>
			<description><![CDATA[Jak masz typ time to sie nie da sekund uciąć. Ale podczas wypisywania zawartosc komórek możesz skorzytsać z z date_part lub date_trunc. Tu masz opisane
[url]http://www.postgresql.org/docs/current/static/functions-datetime.html[/url]
[url]http://www.postgresql.org/docs/current/static/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC[/url]]]></description>
			<author><![CDATA[dummy@example.com (rski)]]></author>
			<pubDate>Wed, 03 Jun 2009 19:02:38 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=927#p927</guid>
		</item>
		<item>
			<title><![CDATA[Problem z TIME.]]></title>
			<link>https://forum.postgresql.org.pl/viewtopic.php?pid=926#p926</link>
			<description><![CDATA[Witam wszystkich.

Mój problem polega na wyświetlaniu niepotrzebnej części typu TIME w postgres.

Przykład :
[quote]
CREATE TABLE trasat (
    idtrasy integer NOT NULL,
    idprzystanku integer NOT NULL,
    dni_robocze time without time zone,
    soboty time without time zone,
    niedziele time without time zone
);
[/quote]

Potem wykonuje inserta:

[quote]insert into trasat values(3,1,'04:35',null,null);
[/quote]
to pokazuje mi się w bazie :
[quote]04:35:00[/quote]

Chciałbym żeby tylko jedynie godzina i minuty się wyświetlały.

Pozdrawiam]]></description>
			<author><![CDATA[dummy@example.com (kazach11)]]></author>
			<pubDate>Wed, 03 Jun 2009 18:27:19 +0000</pubDate>
			<guid>https://forum.postgresql.org.pl/viewtopic.php?pid=926#p926</guid>
		</item>
	</channel>
</rss>
