Re: Unixtime function?...

Поиск
Список
Период
Сортировка
Искать
От
Roberto Mello
Тема
Re: Unixtime function?...
Дата
в 17:14:54
Msg-id
20010502144404.A20145@cc.usu.edu
Ответ на
Re: Unixtime function?... (Richard Whittaker)
Список
Дерево обсуждения
Unixtime function?... Richard Whittaker <richard@connections.yk.ca>
Re: Unixtime function?... Roberto Mello <rmello@cc.usu.edu>
Re: Unixtime function?... Richard Whittaker <richard@connections.yk.ca>
Re: Unixtime function?... Roberto Mello <rmello@cc.usu.edu>
Re: Unixtime function?... Matthew Kolb <muk@phaedrus.gaslightmedia.com>
On Wed, May 02, 2001 at 01:20:24PM -0700, Richard Whittaker wrote:
> 
> Allright, so given that, how do I get the number of seconds between two 
> arbitrary date/time values or even just time values, and pass that back to 
> PHP?...

	You're not going to even try to find this information in the docs????

http://postgresql.readysetnet.com/users-lounge/docs/7.1/user/functions-datetime.html

hgcm-test=# select extract(epoch from timestamp 'now()');
 date_part
-----------
 988836181

	-Roberto

-- 
+----| http://fslc.usu.edu USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net 
       http://www.sdl.usu.edu - Space Dynamics Lab, Developer    
DOS = Damned Old Software
В списке pgsql-php по дате отправления
От: Matthew Kolb
Дата:
Сообщение: Re: Unixtime function?...
От: Gyozo Papp
Дата:
Сообщение: Re: Unixtime function?...
FAQ