variant_get_datetime


Description:


[ Version ( since = "2.52" ) ]
public Date variant_get_datetime (Variant variant) throws Error

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.

Parameters:

variant

a Variant

Returns:

a new Date, or null on error.


Namespace: Soup.XMLRPC
Package: libsoup-2.4