Partilhar via


DateTimeUtil.setUserPreferredTimeZone Method

Definition

Overloads

setUserPreferredTimeZone(Timezone)

Sets the preferred time zone of the user to the specified Timezone enumeration value.

setUserPreferredTimeZone(Timezone, Boolean)

setUserPreferredTimeZone(Timezone)

Sets the preferred time zone of the user to the specified Timezone enumeration value.

public:
 static void setUserPreferredTimeZone(Dynamics::AX::Application::Timezone timezone1);
public static void setUserPreferredTimeZone (Dynamics.AX.Application.Timezone timezone1);
static member setUserPreferredTimeZone : Dynamics.AX.Application.Timezone -> unit
Public Shared Sub setUserPreferredTimeZone (timezone1 As Timezone)

Parameters

timezone1
Timezone

Applies to

setUserPreferredTimeZone(Timezone, Boolean)

public:
 static void setUserPreferredTimeZone(Dynamics::AX::Application::Timezone _tz, bool _persist);
public static void setUserPreferredTimeZone (Dynamics.AX.Application.Timezone _tz, bool _persist);
static member setUserPreferredTimeZone : Dynamics.AX.Application.Timezone * bool -> unit
Public Shared Sub setUserPreferredTimeZone (_tz As Timezone, _persist As Boolean)

Parameters

_tz
Timezone

A Boolean value that indicates whether the new value should be persisted.

_persist
Boolean

A Boolean value that indicates whether the new value should be persisted.

Applies to