This documentation is archived and is not being maintained.

CrmDateTime Class (CrmHelpers)

Forefront
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Represents a date/time attribute in an entity.

The CrmDateTime class exposes the following members.

ConstructorDescription
CrmDateTimeInitializes a new instance of the CrmDateTime class.

Static MethodDescription
FromUniversalGets an instance of a CrmDateTime from a universal time.
FromUserGets an instance of a CrmDateTime from a user's time.

Static PropertyDescription
MaxValueGets the maximum time value allowed.
MinValueGets the minimum time value allowed.
NowGets the current time.
NullGets a null date/time.

Instance PropertyDescription
UniversalTimeGets the time expressed as universal time.
UserTimeGets the time expressed as the users time.

Requirements

Filename: businessentitypartialtypes.cs

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: