[This is preliminary documentation and is subject to change.]

Gets the date part of the datetime object. Actually this method resets the time part to 12:00:00AM

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static DateTime GetDatePart(
	DateTime dt
)
Visual Basic (Declaration)
Public Shared Function GetDatePart ( _
	dt As DateTime _
) As DateTime
Visual C++
public:
static DateTime GetDatePart(
	DateTime dt
)

Parameters

dt
Type: System..::.DateTime
The input date

Return Value

The date part of the datetime

See Also