int to date

Поиск
Список
Период
Сортировка
От Daniel Drotos
Тема int to date
Дата
Msg-id Pine.LNX.4.61.0507251046400.2731@mazsola.iit.uni-miskolc.hu
обсуждение исходный текст
Ответ на Re: getting back autonumber just inserted  (Vivek Khera <vivek@khera.org>)
Ответы Re: int to date  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-sql
Hi,

I have a string containing hexa dump of an 4 bytes integer, like 
'6AF4805C'. Is it possible to convert it somehow to date type in 
plpgsql (v8.0.0-rc1)? Doc says that date is represented as 4 bytes 
internaly.

How can I get internal representation of a date type field? So I would 
be able to produce hexa dump of it like above...

Daniel


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

Предыдущее
От: "Mauricio Fernandez"
Дата:
Сообщение: Re: Convert numeric to money
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: int to date