postgres convert timestamp to date example Example: postgres timestamp to datetime to_timestamp(field_name)::timestamp