DocumentPropertyToDateTime Method

Returns the property value as DateTime in local timezone.

Namespace:  Aspose.Cells.Properties
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public DateTime ToDateTime()

Return Value

Type: DateTime
Remarks

Throws an exception if the property type is not PropertyType.Date.

See Also