Search Postgresql Archives

Getting timestamp without milliseconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

 

I’ve got a timestamp field.. and it returns sth like “2006-01-04 21:33:17.156”. How can I get the same result, just without the .156? I’ve looked at date/time formatting functions, etc, but couldn’t find a straight way to do this L

Thanks.

 

Regards,

Tadej


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux