Golden Rule: Always use TIMESTAMPTZ (TIMESTAMP WITH TIME ZONE) instead of plain TIMESTAMP. PostgreSQL stores TIMESTAMPTZ in UTC internally and converts it automatically to any client's local timezone—saving you from painful timezone bugs!
ADVERTISEMENT