NBElementConvert ToNullableDateTime Method (NBElement, String)IBM Integration Bus
Returns the value of the NBElement passed in after first converting it to a Nullable<DateTime> if required using specified format.

Namespace: IBM.Broker.Plugin
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax

public static Nullable<DateTime> ToNullableDateTime(
	NBElement value,
	string format
)

Return Value

Type: OnlineNullable OnlineDateTime 
The current element's value converted to a Nullable<DateTime> data type using the specified format.
Exceptions

ExceptionCondition
OnlineSystem FormatExceptionThrown if the value can not be converted to a Nullable<DateTime> with the given format.
Remarks

The format string uses the syntax documented in the Information Center in the topic "Formatting and parsing dateTimes as strings (ak05616)".
See Also