DataValueToDate Method
Convert a value to a date without times.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static Object ValueToDate(
Object value,
bool allowDBNull = true,
bool emptyIsNull = true,
bool date1900IsEmpty = false
)
Public Shared Function ValueToDate (
value As Object,
Optional allowDBNull As Boolean = true,
Optional emptyIsNull As Boolean = true,
Optional date1900IsEmpty As Boolean = false
) As Object
- value Object
- Value to convert.
- allowDBNull Boolean (Optional)
- Indicates whether null values are allowed.
- emptyIsNull Boolean (Optional)
- If the field is of type String then it can be set to if it is empty.
- date1900IsEmpty Boolean (Optional)
- Indicates if the date 1900 is considered empty.
ObjectObject with the value converted.