{"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","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"],"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":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","slug":"18"},"group":"datetime","group_label":"Date/Time Functions And Operators","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":"","description_zh_html":"","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\u003eday\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, day int, hour int, min int, sec double precision [, timezone text ] ) → timestamp with time zone","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-DATETIME-TABLE","file":"functions-datetime.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"make-timestamptz","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"make_timestamptz","Summary":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定timezone，则使用当前时区；示例假设会话时区为Europe/London","BodyHTML":"从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定\u003cem\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e，则使用当前时区；示例假设会话时区为\u003ccode\u003eEurope/London\u003c/code\u003e\u003cpre\u003emake_timestamptz ( year int, month int, day int, hour int, min int, sec double precision [, timezone text ] ) → timestamp with time zone\u003c/pre\u003e从年、月、日、小时、分钟和秒字段并结合时区创建时间戳（负数年份表示 BC）。如果没有指定\u003cem\u003e\u003ccode\u003etimezone\u003c/code\u003e\u003c/em\u003e，则使用当前时区；示例假设会话时区为\u003ccode\u003eEurope/London\u003c/code\u003e","SourceRevision":"1b5ca64c","ContentHash":"d7595e2d27296d25015ad773d904d6a44f469c530b268f8c7c482061dbedba36","Payload":{"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","signatures":[{"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","returns":"timestamp with time zone","text":"make_timestamptz ( year int, month int, day int, hour int, min int, sec double precision [, timezone text ] ) → timestamp with time zone","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"4fa92c561b865d9f9144adcf140e38cb87307713148d45bcf95617fc15891ef7","Text":"make_timestamptz ( year int, month int, day 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":"","description_zh_html":"","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\u003eday\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, day int, hour int, min int, sec double precision [, timezone text ] ) → timestamp with time zone","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
