{"Entry":{"collection":"func","key":"make-timestamptz","name":"make_timestamptz","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.4"},{"descriptions_changed":true,"doc_overhaul":false,"from":"9.5","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"9.6"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"13","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"14"}],"content_hash":"687cb70092b55b69c43d811e81daebf61999fb10e0734caba31e34cae9e4fbaf","derived_content_hash":"c67af81b0a834d383e62555cc97389d6e646d0be6c15324808a5d6692e539221","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:b1b7c76433250c8ab8350558c7c871e16f373a0aa2d9cb378e0ace0d97bdac66","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.4","group":"datetime","group_label":"Date/Time Functions And Operators","groups":["datetime"],"imported_at":"2026-09-14T21:49:48.707817+08:00","last_version":"20","name":"make_timestamptz","name_key":"make_timestamptz","position":8021,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"bc265c091456e0e23ea0bc94201938b1641b4438349d686dae262d4097d1b514","repair":"wiki-repair-20261023"},"signature":"make_timestamptz ( year int, month int, day int, hour int, min int, sec double precision [, timezone text ] ) → timestamp with time zone","signature_count":1,"slug":"make-timestamptz","source_rev":"wiki-repair-20261023:b1b7c76433250c8ab8350558c7c871e16f373a0aa2d9cb378e0ace0d97bdac66","summary":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC).","summary_zh":""}},"Definition":{"Collection":"func","Key":"make-timestamptz","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"make-timestamptz","SourceRevision":"wiki-repair-20261023:b1b7c76433250c8ab8350558c7c871e16f373a0aa2d9cb378e0ace0d97bdac66","Facts":{"description":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If timezone is not specified, the current time zone is used; the examples assume the session time zone is Europe/London","description_html":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e is not specified, the current time zone is used; the examples assume the session time zone is \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","description_zh":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 timezone，则使用当前时区；示例假设会话时区为 Europe/London","description_zh_html":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e，则使用当前时区；示例假设会话时区为 \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","version":"18.7"},{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"c3efdd1c3df6795c73dfea2ecec17ca31ff37da23d758083a581d75445851f0c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"datetime","group_label":"时间/日期函数和操作符","lang":"en","layout":"table-new","pages":["functions-datetime.html"],"prose_only":false,"signatures":[{"description":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If timezone is not specified, the current time zone is used; the examples assume the session time zone is Europe/London","description_html":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e is not specified, the current time zone is used; the examples assume the session time zone is \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","description_zh":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 timezone，则使用当前时区；示例假设会话时区为 Europe/London","description_zh_html":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e，则使用当前时区；示例假设会话时区为 \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","examples":[{"expr":"make_timestamptz(2013, 7, 15, 8, 15, 23.5)","result":"2013-07-15 08:15:23.5+01"},{"expr":"make_timestamptz(2013, 7, 15, 8, 15, 23.5, 'America/New_York')","result":"2013-07-15 13:15:23.5+01"}],"html":"\u003ccode class=\"function\"\u003emake_timestamptz\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eyear\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emonth\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emday\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ehour\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emin\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003esec\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003etimestamp with time zone\u003c/code\u003e","returns":"timestamp with time zone","text":"make_timestamptz ( year int, month int, mday int, hour int, min int, sec double precision [, timezone text] ) → timestamp with time zone","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-datetime.html","sha256":"2340eed8f18e5a5a727bb6bf8f828eedbab527da91082a214ea4f64a3b8750a6"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"make-timestamptz","SourceDatabase":"center","Version":"18","Locale":"en","Title":"make_timestamptz","Summary":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If timezone is not specified, the current time zone is used; the examples assume the session time zone is Europe/London","BodyHTML":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If \u003cem\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e is not specified, the current time zone is used; the examples assume the session time zone is \u003ccode\u003eEurope/London\u003c/code\u003e","SourceRevision":"wiki-repair-20261023:b1b7c76433250c8ab8350558c7c871e16f373a0aa2d9cb378e0ace0d97bdac66","ContentHash":"d602581dc94c05f46fddafb4b0989094a7d0b7eefb416017eaab42c27dff0b6a","Payload":{"description":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If timezone is not specified, the current time zone is used; the examples assume the session time zone is Europe/London","description_html":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e is not specified, the current time zone is used; the examples assume the session time zone is \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","signatures":[{"description":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If timezone is not specified, the current time zone is used; the examples assume the session time zone is Europe/London","description_html":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e is not specified, the current time zone is used; the examples assume the session time zone is \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","description_zh":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 timezone，则使用当前时区；示例假设会话时区为 Europe/London","description_zh_html":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e，则使用当前时区；示例假设会话时区为 \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","examples":[{"expr":"make_timestamptz(2013, 7, 15, 8, 15, 23.5)","result":"2013-07-15 08:15:23.5+01"},{"expr":"make_timestamptz(2013, 7, 15, 8, 15, 23.5, 'America/New_York')","result":"2013-07-15 13:15:23.5+01"}],"html":"\u003ccode class=\"function\"\u003emake_timestamptz\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eyear\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emonth\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emday\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ehour\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emin\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003esec\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003etimestamp with time zone\u003c/code\u003e","returns":"timestamp with time zone","text":"make_timestamptz ( year int, month int, mday int, hour int, min int, sec double precision [, timezone text] ) → timestamp with time zone","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"85e36ece059a513f13b33018d633ad489bb1fc9dd0aed8bde23c82fdada7410c","Text":"make_timestamptz ( year int, month int, mday int, hour int, min int, sec double precision [, timezone text] ) → timestamp with time zone","Returns":"timestamp with time zone","Payload":{"description":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If timezone is not specified, the current time zone is used; the examples assume the session time zone is Europe/London","description_html":"Create timestamp with time zone from year, month, day, hour, minute and seconds fields (negative years signify BC). If \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e is not specified, the current time zone is used; the examples assume the session time zone is \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","description_zh":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 timezone，则使用当前时区；示例假设会话时区为 Europe/London","description_zh_html":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定 \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e，则使用当前时区；示例假设会话时区为 \u003ccode class=\"literal\"\u003eEurope/London\u003c/code\u003e","examples":[{"expr":"make_timestamptz(2013, 7, 15, 8, 15, 23.5)","result":"2013-07-15 08:15:23.5+01"},{"expr":"make_timestamptz(2013, 7, 15, 8, 15, 23.5, 'America/New_York')","result":"2013-07-15 13:15:23.5+01"}],"html":"\u003ccode class=\"function\"\u003emake_timestamptz\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eyear\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emonth\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emday\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ehour\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003emin\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eint\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003esec\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003etimestamp with time zone\u003c/code\u003e","returns":"timestamp with time zone","text":"make_timestamptz ( year int, month int, mday int, hour int, min int, sec double precision [, timezone text] ) → timestamp with time zone","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
