CSV Reports
GetDateTime Method



KellermanSoftware.CsvReports Namespace > BaseReader Class : GetDateTime Method
Index of the column.
Parses column value into an datetime
Syntax
Public Function GetDateTime( _
   ByVal columnIndex As Integer _
) As Date
Dim instance As BaseReader
Dim columnIndex As Integer
Dim value As Date
 
value = instance.GetDateTime(columnIndex)
public DateTime GetDateTime( 
   int columnIndex
)
public:
DateTime GetDateTime( 
   int columnIndex
) 

Parameters

columnIndex
Index of the column.

Return Value

DateTime.
Exceptions
ExceptionDescription
Cannot cast value
Requirements

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

See Also

Reference

BaseReader Class
BaseReader Members