Platform Core .NET Assemblies API
ConvertToUtc Method
See Also  Send Feedback
Terrasoft.Core Namespace > TimeZoneUtilities Class : ConvertToUtc Method
userConnection
Instance of UserConnection.
dateTimeLocal
Current user time zone.

Glossary Item Box

Converts time from user time zone to Utc fromat.

Syntax

 
C#
 
 

Parameters

userConnection
Instance of UserConnection.
dateTimeLocal
Current user time zone.

Return Value

Instance of System.DateTime which represents current time in Utc format.

Requirements

Target Platforms: Windows 7, 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

© Terrasoft 2002-2018.