ParseDateTime
Description:
Creates a DateTime instance from a variety of string date representations.
Syntax:
ParseDateTime(strDateTime)
Type:
DateTime
Arguments:
Argument |
Type |
Description |
strDateTime |
String |
The string representation of the date (and time). |
Returns:
A DateTime instance representing the date/time specified within the string argument.
Examples:
Expression |
Result |
ParseDateTime(Jan 20 2009 5:35 PM) |
1/20/2009 5:35:00 PM |
ParseDateTime(2009-1-20 17:35) |
1/20/2009 5:35:00 PM |