GetUserTimezone
David Rivard edited this page Dec 17, 2020
·
2 revisions
This API is Bound to the SystemUser Table and will provide easy access to the TimeZone code and TimeZone Standard name of a given user. This is especially useful in PowerAutomate Flows for date conversion from UTC.
##Parameters Bound Table SystemUser
Input Parameters --none--
Output Properties
Property | Type | Description |
---|---|---|
TimezoneCode | Integer | Timezone code |
TimezoneName | String | Timezone Standard Name (Use this value in Power Automate date conversion |
Request
https://{{baseurl}}/api/data/v9.1/systemusers(00000000-0000-0000-0000-000000000000)/Microsoft.Dynamics.CRM.driv_GetUserTimezone
Response
{
"@odata.context": "https://{{baseurl}}/api/data/v9.1/$metadata#Microsoft.Dynamics.CRM.driv_GetUserTimezoneResponse",
"TimezoneCode": 35,
"TimezoneName": "Eastern Standard Time"
}