CrmDateTime Class (CrmHelpers)

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.

Constructor Description
CrmDateTime Initializes a new instance of the CrmDateTime class.
Static Method Description
FromUniversal Gets an instance of a CrmDateTime from a universal time.
FromUser Gets an instance of a CrmDateTime from a user's time.
Static Property Description
MaxValue Gets the maximum time value allowed.
MinValue Gets the minimum time value allowed.
Now Gets the current time.
Null Gets a null date/time.
Instance Property Description
UniversalTime Gets the time expressed as universal time.
UserTime Gets the time expressed as the users time.

Requirements

Filename: businessentitypartialtypes.cs

See Also

Reference

© 2010 Microsoft Corporation. All rights reserved.