編輯

共用方式為


getTimeZoneOffsetMinutes

Gets the offset in minutes from UTC for the given date.

Available for

Model-driven and canvas apps

Syntax

context.usersettings.getTimeZoneOffsetMinutes(date)

Parameters

Parameter Name Type Required Description
date Date Yes date to get the offset from utc for.

Return Value

Type: Number Description: Time zone offset in minutes.

User Settings
Power Apps component framework API reference
Power Apps component framework overview