Obsolete. Use type-specific conversion functions instead.
Converts the argument to a datetime.
DateTime convert::to-datetime(value)
Parameters
Name | Type | Description |
---|---|---|
value | DateTime | value to be converted |
Return Value
value converted to datetime. The function fails with an exception when the conversion is not possible.
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions