|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterTypeEnvironment Interface > IRasterTypeEnvironment.GetTimeStamp Method (ArcObjects .NET 10.4 SDK) | 
Returns a time stamp associated either with the present instance in time or with the optional file path.
[Visual Basic .NET] Public Function GetTimeStamp ( _ ByVal FilePath As String _ ) As DateTime
[C#] public DateTime GetTimeStamp ( string FilePath );
[C++]
HRESULT GetTimeStamp(
  BSTR FilePath,
  DATE* pTimeStamp
);
[C++]
Parameters FilePath [in] FilePath is a parameter of type BSTR pTimeStamp [out, retval] pTimeStamp is a parameter of type DATE