Click or drag to resize
ExcelWorksheetDataDateTime Method (Int32, DateTime)
Returns the content of the nth cell cast to a DateTime. If the cell is empty then 'emptyValue' is returned.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public DateTime DateTime(
	int ordinal,
	DateTime emptyValue
)

Parameters

ordinal
Type: SystemInt32
emptyValue
Type: SystemDateTime

Return Value

Type: DateTime
Remarks
The DateTime must be in UK format, i.e. 'dd/mm/yyyy' or 'dd/mm/yyyy hh:mm:ss' or 'dd/mm/yyyy hh:mm:ss.sss'.
See Also