Partager via


DateTimeUtil.setCompanyTimeZone Method

Definition

Overloads

setCompanyTimeZone(Timezone)

Sets the Timezone enumeration value that is used by the current company.

setCompanyTimeZone(Timezone, Boolean)

setCompanyTimeZone(Timezone)

Sets the Timezone enumeration value that is used by the current company.

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

Parameters

timezone1
Timezone

Applies to

setCompanyTimeZone(Timezone, Boolean)

public:
 static void setCompanyTimeZone(Dynamics::AX::Application::Timezone _tz, bool _persist);
public static void setCompanyTimeZone (Dynamics.AX.Application.Timezone _tz, bool _persist);
static member setCompanyTimeZone : Dynamics.AX.Application.Timezone * bool -> unit
Public Shared Sub setCompanyTimeZone (_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