Re: Re: epoch <-> timestamp

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема Re: Re: epoch <-> timestamp
Дата
Msg-id 20010307104525.D15717@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответ на Re: epoch <-> timestamp  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
On Tue, Mar 06, 2001 at 03:15:19PM -0600, Bruno Wolff III wrote:
> On Tue, Mar 06, 2001 at 12:00:53AM +0000,
>   Patrick Welche <prlw1@newn.cam.ac.uk> wrote:
> > How can you get back to a timestamp from a number of seconds?
>
> I use this sequence in a perl program where $time is the current time in
> seconds since the epoch.
>
> timestamp 'epoch' + '$time second'

Thanks all for the tips!

Patrick

> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

no I want to have mail sent to @cam, but send mail from @newn.cam - used
to work with pgsql-loopback...

В списке pgsql-general по дате отправления:

Предыдущее
От: Mathijs Brands
Дата:
Сообщение: Re: [SQL] Re: Re: MySQLs Describe emulator!
Следующее
От: daniel
Дата:
Сообщение: database access