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.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public DateTime DateTime(
int ordinal,
DateTime emptyValue
)
Public Function DateTime (
ordinal As Integer,
emptyValue As DateTime
) As DateTime
public:
DateTime DateTime(
int ordinal,
DateTime emptyValue
)
member DateTime :
ordinal : int *
emptyValue : DateTime -> DateTime
Parameters
- ordinal
- Type: SystemInt32
- emptyValue
- Type: SystemDateTime
Return Value
Type:
DateTimeRemarks
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