Version

ForceEarliestTimeOfDay Method

Returns the earliest date and time for the date specified.
Syntax
'Declaration
 
Public Shared Function ForceEarliestTimeOfDay( _
   ByVal dateTime As SmartDate _
) As SmartDate
public static SmartDate ForceEarliestTimeOfDay( 
   SmartDate dateTime
)

Parameters

dateTime
SmartDate indicating the day of the date to return.

Return Value

A SmartDate corresponding with the earliest time of the day.
Remarks

This method returns the Date portion of the SmartDate value passed in. The hours, minutes and seconds properties are set to 0.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also