Converts Date from Local Time to UTC

⌘K

Converts Date from Local Time to UTC

This activity converts the value of the current DateTime variable from local time in the specified time zone to Coordinated Universal Time (UTC).

converts_date_from_local_time_to_utc_1

You can specify a custom time zone to improve accuracy in the time conversion.

converts_date_from_local_time_to_utc_2

This method does not change the original date value. Instead, it returns a new date whose value is the result of the conversion.

SharePoint Workflow Designer Phrase

Convert local time from Local Time in [Current Site] time zone to UTC and store the result in utc_time.

Parameters

ParameterDescription
local_timeDateTime variable
[Current Site]Optional. Time zone. The default value is the current site time zone, but you can select a custom time zone.

How can we help?