The question is pretty self-explanatory. I'm looking for a PostgreSQL equivalent to the SQLite datetime function.
3 Answers
I think this is what your're searching for:
timestamp [ (p) ] [ without time zone ] or timestamp [ (p) ] with time zone
otherwise have a look @ http://www.postgresql.org/docs/8.1/interactive/datatype-datetime.html
Comments
OK, thanks for the answers, they helped point me in the right direction. What I actually was looking for was to_timestamp.