---------- Forwarded Message ---------- Subject: Re: [GENERAL] php, time and postgresql Date: Fri, 12 Jan 2001 14:13:21 -0700 From: Mark Lane <mlane@mynewthing.com> To: Rasmus Resen Amossen <spunk@rhk.dk> On Friday 12 January 2001 14:03, you wrote: > I want to save some time information in postgresql with php. What is the > datatype in postgresql coresponding to the mktime()-unixtime function in > php (creates a time in the format "979333398" eg.)? > > Thanx! If you want to save time in that format just use an int4. All you have there is an integer value so you will not need a special datatype. With datetime information you only need a special datatypes when you storing information in a form such as provided by timestamp. Mark -------------------------------------------------------
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера