Get the Date from special Variant created by variant_new_datetime or by parsing a <dateTime.
iso8601> node. See parse.
If variant
does not contain a datetime it will return an error but it is not considered a programmer error because it
generally means parameters received are not in the expected type.
variant |
a Variant |
a new Date, or |