ExcelWorksheetDataDateTime Method (String, DateTime) |
Returns the content of the cell at columnName 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(
string columnName,
DateTime emptyValue
)
Public Function DateTime (
columnName As String,
emptyValue As DateTime
) As DateTime
public:
DateTime DateTime(
String^ columnName,
DateTime emptyValue
)
member DateTime :
columnName : string *
emptyValue : DateTime -> DateTime
Parameters
- columnName
- Type: SystemString
- 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