Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeZone.FromName Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeZone.FromName Method
Gets a AFTimeZone which corresponds to the specified time zone invariant culture name.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public static AFTimeZone FromName(
	string name
)
Public Shared Function FromName ( 
	name As String
) As AFTimeZone

Dim name As String
Dim returnValue As AFTimeZone

returnValue = AFTimeZone.FromName(name)
public:
static AFTimeZone^ FromName(
	String^ name
)
static member FromName : 
        name : string -> AFTimeZone 

Parameters

name
Type: SystemString
The invariant culture name for the time zone to find.

Return Value

Type: AFTimeZone
Returns the corresponding AFTimeZone for the specified name. If the time zone is not found, is returned.

Remarks

The Name property can be used to obtain the time zone's invariant culture name to be used as the name parameter to this method.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in