ArcObjects Library Reference (System)  

ITime.QueryTimeStringCurrentLocale Method

Obtains the time as a string, based on the current locale.

[Visual Basic .NET]
Public Function QueryTimeStringCurrentLocale ( _
    ByVal timeLocaleFormat As esriTimeLocaleFormat _
) As String
[C#]
public string QueryTimeStringCurrentLocale (
    esriTimeLocaleFormat timeLocaleFormat
);
[C++]
HRESULT QueryTimeStringCurrentLocale(
  esriTimeLocaleFormat timeLocaleFormat,
  BSTR* timeString
);
[C++]

Parameters

timeLocaleFormat [in]

  timeLocaleFormat is a parameter of type esriTimeLocaleFormat

timeString [out, retval]   timeString is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ITime Interface