This documentation is archived and is not being maintained.

CrmDateTime.FromUser 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 users time.

Syntax

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

Parameters

userTime

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: