Version

SetLocal Method (Project)

Returns the DateTime for the specified property relative to the specified CalculationTimeZoneToken
Syntax
'Declaration
 
Public Sub SetLocal( _
   ByVal dateProperty As ProjectDateProperty, _
   ByVal token As Infragistics.Controls.Schedules.TimeZoneToken, _
   ByVal dateTime As Nullable(Of Date) _
) 
public void SetLocal( 
   ProjectDateProperty dateProperty,
   Infragistics.Controls.Schedules.TimeZoneToken token,
   Nullable<DateTime> dateTime
)

Parameters

dateProperty
Enumeration used to identify the property whose value is to be returned relative to the specified timezone indicated by the token parameter.
token
The timezone token that identifies the timezone for which the relative date is being requested.
dateTime
The time relative to the timezone specified by the token that will be used to calculate the UTC value for the specified date property.

Return Value

Returns the local time for the specified date property relative to the timezone specified by the token.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Project Class
Project Members
TimeZoneInfoProvider Property
Infragistics.Controls.Schedules.TimeZoneInfoProvider.GetTimeZoneToken(System.String)