ArcObjects Library Reference (System)  

ITime.QueryTimeString Method

Obtains the time as a string, based on the given time string format.

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

Parameters

timeStringFormat [in]

  timeStringFormat is a parameter of type esriTimeStringFormat

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