[Following material applies to Schedule Triggers in Azure Data Factory. Learn more about Schedule Trigger]
We are really excited to release Time Support for Schedule Trigger in Azure Data Factory. Going forward, you can create schedule triggers in your local time zone, without the need to convert timestamps to Coordinated Universal Time (UTC) first. Furthermore, in this release, we are also adding support for Daylight Saving auto-adjustment: for time zones that observe Daylight Saving, auto change schedule trigger time twice a year (e.g. 8AM daily trigger will fire at 8AM, whether it's PST or PDT)
Note: the changes only apply to new triggers created with time zone other than UTC. Existing ones will continue to follow UTC world clock.
To create a Schedule Trigger in local time zone in UX portal
Create new trigger and select Schedule for type
Specify the start date in the desired time zone (e.g. 9AM 2020-10-30 Pacific Time, choose 9:00 AM 2020-10-30). The default value is current time in UTC timestamp
Specify the desired time zone.
Despite we are showing UTC offset in Standard time, e.g. Pacific Time (US & Canada) shows UTC-8, it adjusts to Summer time as expected
Time Zone option applies to StartTime, EndTime, and ScheduleExecutionTime
Changing time zone will not update StartTime, EndTime, and ScheduleExecutionTime settings. Please make sure that these values are specified correctly in your desired time zone
Click OK and publish your triggers
Schedule Trigger in Time Zone other than UTC
To create a Schedule Trigger in local time zone with JSON schema
timeZone property now takes values other than "UTC"
When timeZone is set to "UTC", timestamps are expected in format 'yyyy-MM-ddTHH:mm:ssZ'
When timeZone is set to values other than "UTC", timestamps are expected in format 'yyyy-MM-ddTHH:mm:ss', without the suffix Z
Per ISO 8601 standard, Z suffix to timestamp mark the datetime to UTC and will render timeZone setting useless
Meanwhile missing Z suffix for UTC time zone will cause an error upon trigger activation
For example, a trigger created in UTC time zone would look like this
Fine prints on Monitoring if you programmatically monitor your Schedule Trigger runs: as per usual, trigger time of a schedule trigger run is specified as a UTC timestamp in return value. Please convert to local time zone on client side.