FlowWright.cDevDeAPI Namespace
FlowWright.cDevDecisionEngine Namespace

clsDateTimeExt..::..ToTimeZoneUtc Method (DateTime, String)

Converts the DateTime to UTC of given Time Zone

Namespace:  System
Assembly:  deDataAccess (in deDataAccess.dll)

Syntax


public static DateTime ToTimeZoneUtc(
	DateTime oDate,
	string timeZone
)
Public Shared Function ToTimeZoneUtc ( _
	oDate As DateTime, _
	timeZone As String _
) As DateTime
public:
static DateTime^ ToTimeZoneUtc(
	DateTime^ oDate, 
	String^ timeZone
)

Parameters

oDate
Type: DateTime
The date.
timeZone
Type: String
target timezone

Return Value