Returns the first item that is less than specified one.
'Declaration
Public Function GetPreviousDate( _
ByVal As Date _
) As Date
'Usage
Dim instance As DateList
Dim item As Date
Dim value As Date
value = instance.GetPreviousDate(item)
public DateTime GetPreviousDate(
DateTime
)
Parameters
- item
- An item to search for.
Return Value
The first item that is less than specified one; or DateTime.MinValue if such item is not found.
Target Platforms: 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