| TimeZoneInformationToUtcTime Method (TimeZoneInformation, DateTime) | 
            Converts a local time of the source timezone to a Utc time
            
 
Namespace: WorkflowGen.My.GlobalizationAssembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 2.4.0.0 (2.4.0.0)
Syntaxpublic static DateTime ToUtcTime(
	TimeZoneInformation source,
	DateTime sourceLocalTime
)
Public Shared Function ToUtcTime ( 
	source As TimeZoneInformation,
	sourceLocalTime As DateTime
) As DateTime
Parameters
- source
 - Type: WorkflowGen.My.GlobalizationTimeZoneInformation
The source timezone - sourceLocalTime
 - Type: SystemDateTime
The local time in the source timezone 
Return Value
Type: 
DateTimeThe Utc time that is equivalent to the local time in the source timezone.
See Also