ConvertValueToDateNullable Method

Converts a value to a date without time of type DateTime or null.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static DateTime? ValueToDateNullable(
	Object value,
	bool date1900IsNull = false
)

Parameters

value  Object
Value to convert.
date1900IsNull  Boolean  (Optional)
Indicates if the date 1900 is considered null.

Return Value

NullableDateTime
DateTime with the date without time value.

if the value cannot be converted.

See Also