Version: 2019.1
public DateTime AsDate ();

Returns

DateTime The value of the date element.

Description

Convenience function to convert to date.

The method is equivalent to ((PlistElementDate) el).value. Throws exception if the element is not PlistElementDate.