DOFTypeasDate Method OpenDOF Object Access Library
Returns the result's value as a Date.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static DateTime asDate(
	DOFValue value
)

Parameters

value
Type: org.opendof.core.oalDOFValue
Value to return as Date Throws ClassCastException if called on a non-Date result.

Return Value

Type: DateTime
the result's value as a Date.
Remarks

Returns the result's value as a Date. Compatible with results of type org.opendof.core.oal.value.DOFDateTime .

See Also

Reference