PostgreSQL的ISO 8601格式日期

时间:2013-05-27 18:31:06

标签: postgresql timezone iso8601 formatdatetime

我的字符串包含ISO 8601格式的日期时间值(例如:2013-05-21T15:00:00+0200)和时区(例如:Europe/Rome)。

表示此日期格式的最佳Postgres data type是什么?

1 个答案:

答案 0 :(得分:7)

输入“带时区的时间戳”是您想要的。

http://www.postgresql.org/docs/current/static/datatype-datetime.html

相关问题