Export (0) Print
Expand All

CrmDateTime Class (Sdk Assembly)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Represents a date/time attribute.

The CrmDateTime class exposes the following members.

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
dateGets the date part of the attribute value.
IsNullGets or sets a value that indicates whether the property value is a null value.
IsNullSpecifiedGets or sets a value that indicates whether you are intentionally setting the attribute to a null value.
timeGets the time part of the attribute value.
UniversalTimeGets the time expressed as universal time.
UserTimeGets the time expressed as the users time.
ValueGets or sets the attribute value in UTC format.


For more information, see CrmService.CrmDateTime class.


Namespace: Microsoft.Crm.Sdk

Assembly: Microsoft.Crm.Sdk.dll

See Also


© 2010 Microsoft Corporation. All rights reserved.

© 2014 Microsoft