문제

I have string containing an ISO 8601 formatted date-time value (ex: 2013-05-21T15:00:00+0200) and time zone (ex: Europe/Rome).

What is the best Postgres data type to represent this date format?

도움이 되었습니까?

해결책

Type "timestamp with time zone" is what you want.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top