Click or drag to resize

PFDataCollectionGetValueDateTime Method (String, Boolean)

Gets a value in date and time format. Will try to convert the value if necessary. Will return DateTime.MinValue if the value is null or could not be converted, except if canBeNull is true.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
protected Object GetValueDateTime(
	string fieldName,
	bool canBeNull
)

Parameters

fieldName
Type: SystemString
Name of the SQL column or of the PFField.
canBeNull
Type: SystemBoolean
If true, null can be returned if the value is null.

Return Value

Type: Object
See Also