unix时间戳的PostgreSQL字段类型:
- 将其存储为unix时间戳
- 也可以将其作为unix时间戳检索.
已经过了Date/Time Types postgreSQL V 9.1年.
- 整数是最好的方法吗!?(这是我在使用MySQL时所做的.我使用了
int(10)
)
unix时间戳的PostgreSQL字段类型:
已经过了Date/Time Types postgreSQL V 9.1年.
int(10)
)integer可以,但还不够好,因为postgresql不支持无符号类型