This documentation is archived and is not being maintained.

CrmDateTime.FromUniversal Method

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Gets an instance of a CrmDateTime from a universal time.

Syntax

[Visual Basic .NET]
Public Shared Function FromUniversal(
  ByVal universalTime As DateTime
) As CrmDateTime
[C#]
public static CrmDateTime FromUniversal(
  DateTime  universalTime
);

Parameters

universalTime

Specifies a DateTime that contains the date and time.

Return Value

Returns a CrmDateTime type.

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: