Article View: pl.comp.bazy-danych
Article #183372Re: Data w bazie danych w postaci liczby
From: A.L.E.C
Date: Thu, 16 Jul 2009 13:41
Date: Thu, 16 Jul 2009 13:41
20 lines
1585 bytes
1585 bytes
Handheld wrote: >> To może być ilość dni od 28.12.1800 r. > > funkcja date daje mi datę, z tym że z księżyca. > Jestem na etapie szukania 'klucza' którym potraktuje zawartość tego > pola, by mi dawał 'sensowną' datę. Na postgresie zapytanie: select '1800-12-28'::date + interval '76038 days' zwraca '2009-03-05' -- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Project Developer http://roundcube.net
Technical Details
Message-ID:
<h3nahf$7cd$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mailReferences:
<38333593-3d88-4298-a2d5-0cb053ead194@24g2000yqm.googlegroups.com> <bea199fa-7640-4c06-8ce4-b3b494efc73e@18g2000yqa.googlegroups.com> <72a911cc-37bb-49f1-98d8-31c55371cf0b@n11g2000yqb.googlegroups.com> <h3n11o$d14$1@news.onet.pl> <e8436c60-65d6-4126-a517-013ff57450e9@y7g2000yqa.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail From: "A.L.E.C" <alec1@poczta.onet.pl> Newsgroups: pl.comp.bazy-danych Subject: Re: Data w bazie danych w postaci liczby Date: Thu, 16 Jul 2009 15:41:39 +0200 Organization: http://onet.pl Lines: 20 Message-ID: <h3nahf$7cd$1@news.onet.pl> References: <38333593-3d88-4298-a2d5-0cb053ead194@24g2000yqm.googlegroups.com> <bea199fa-7640-4c06-8ce4-b3b494efc73e@18g2000yqa.googlegroups.com> <72a911cc-37bb-49f1-98d8-31c55371cf0b@n11g2000yqb.googlegroups.com> <h3n11o$d14$1@news.onet.pl> <e8436c60-65d6-4126-a517-013ff57450e9@y7g2000yqa.googlegroups.com> NNTP-Posting-Host: alec.altec.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1247751535 7565 194.150.197.210 (16 Jul 2009 13:38:55 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Thu, 16 Jul 2009 13:38:55 +0000 (UTC) User-Agent: Thunderbird 2.0.0.22 (X11/20090608) In-Reply-To: <e8436c60-65d6-4126-a517-013ff57450e9@y7g2000yqa.googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit