Ali Hussain Mir
07/11/2025, 9:20 AMkapa.ai
07/11/2025, 9:20 AMAli Hussain Mir
07/11/2025, 9:20 AMkapa.ai
07/11/2025, 1:25 PMkapa.ai
07/11/2025, 1:25 PMAli Hussain Mir
07/11/2025, 1:26 PMkapa.ai
07/11/2025, 1:27 PMkapa.ai
07/11/2025, 1:27 PMnow_utc() macro: yaml some_field: "{{ now_utc() }}" This will evaluate to the current date and time in UTC, e.g., '2021-09-01 00:00:00+00:00'. If you only need the date, you can format it like this: yaml some_field: "{{ now_utc().strftime('%Y-%m-%d') }}" If you want just the current date (without time), you can also use the today_utc() macro: yaml some_field: "{{ today_utc() }}" or with formatting: yaml some_field: "{{ today_utc().strftime('%Y/%m/%d') }}" You can use these expressions in any field that supports string interpolation, such as request parameters, headers, or body fields in your connector YAML definition [see reference](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/reference#/variables/stream_slice) [see today_utc macro](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/reference#/macros/today_utc).Ali Hussain Mir
07/11/2025, 1:28 PMkapa.ai
07/11/2025, 1:28 PMkapa.ai
07/11/2025, 1:28 PMZoneInfo or similar functionality in Airbyte's YAML connector definitions. The documented macros like now_utc() and today_utc() only return the current time or date in UTC, and there is no mention of specifying a different timezone or using Python's ZoneInfo in the YAML interpolation context [Interpolation macros](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/reference#/variables/stream_slice). You can format the UTC time as needed, but converting to another timezone like "Asia/Jakarta" is not covered in the available documentation. If you need this feature, you may need to handle timezone conversion outside of the YAML macros or request this as a feature enhancement.