DataToSQLTime Method

Converts a value into a time string for SQL and can add quotes.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string ToSQLTime(
	Object value,
	bool addQuotes = true
)

Parameters

value  Object
Value to convert.
addQuotes  Boolean  (Optional)
Indicates whether quotes should be added.

Return Value

String
String with the value converted.

Remarks

Can return or 'hh:mm:ss.zzz'.

See Also