Click or drag to resize

PFDataCollectionGetValueDateTimeOffset Method (String, Boolean)

Gets a value in date and time (with offset) format. Will try to convert the value if necessary. Will return DateTimeOffset.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 GetValueDateTimeOffset(
	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