DataValueToTime 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 ValueToTime(
Object value,
bool allowDBNull = true,
bool emptyIsNull = true,
bool includeSeconds = false,
bool includeMilliseconds = false
)
Public Shared Function ValueToTime (
value As Object,
Optional allowDBNull As Boolean = true,
Optional emptyIsNull As Boolean = true,
Optional includeSeconds As Boolean = false,
Optional includeMilliseconds 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.
- includeSeconds Boolean (Optional)
- Indicates whether seconds are included.
- includeMilliseconds Boolean (Optional)
- Indicates whether milliseconds are included, and seconds would also be included.
ObjectObject with the value converted.