This document is archived and information here might be outdated. Recommended version. |
Format a datetime value into a literal string.
[Visual Basic .NET] Public Function FormatDatetime ( _ ByVal datetimeValue As Object, _ ByVal datetimeType As esriSQLDatetimeType _ ) As String
[C#] public string FormatDatetime ( object datetimeValue, esriSQLDatetimeType datetimeType );
[C++]
HRESULT FormatDatetime(
VARIANT datetimeValue,
esriSQLDatetimeType datetimeType
);
[C++]
Parameters datetimeValue [in]
datetimeValue is a parameter of type VARIANT datetimeType [in]
datetimeType is a parameter of type esriSQLDatetimeType