DateTimeExtensions Class

 

Updated: January 15, 2016

Applies To: Dynamics CRM 2015

Extensions to the date/time class. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

System::Object
  Microsoft.Xrm.Client::DateTimeExtensions

[ExtensionAttribute]
public ref class DateTimeExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticFloor(DateTime, RoundTo)

Returns the largest discrete value less than or equal to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticFloor(DateTimeOffset, RoundTo)

Returns the largest discrete value less than or equal to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticRound(DateTime, RoundTo)

Rounds a value to the nearest discrete value.

System_CAPS_pubmethodSystem_CAPS_staticRound(DateTimeOffset, RoundTo)

Rounds a value to the nearest discrete value.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

© 2017 Microsoft. All rights reserved. Copyright

Show: