This document is archived and information here might be outdated.  Recommended version.


esriTimeStringFormat Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

esriTimeStringFormat Constants

Esri time string formats.

Constant Value Description
esriTSFYearThruSubSecondWithSlash 0 yyyy/MM/dd HH:mm:ss.s
esriTSFYearThruSecondWithSlash 1 yyyy/MM/dd HH:mm:ss
esriTSFYearThruMinuteWithSlash 2 yyyy/MM/dd HH:mm
esriTSFYearThruHourWithSlash 3 yyyy/MM/dd HH
esriTSFYearThruDayWithSlash 4 yyyy/MM/dd
esriTSFYearThruMonthWithSlash 5 yyyy/MM
esriTSFYearThruSubSecondWithDash 6 yyyy-MM-dd HH:mm:ss.s
esriTSFYearThruSecondWithDash 7 yyyy-MM-dd HH:mm:ss
esriTSFYearThruMinuteWithDash 8 yyyy-MM-dd HH:mm
esriTSFYearThruHourWithDash 9 yyyy-MM-dd HH
esriTSFYearThruDayWithDash 10 yyyy-MM-dd
esriTSFYearThruMonthWithDash 11 yyyy-MM
esriTSFYearThruSubSecond 12 yyyyMMddHHmmss.s
esriTSFYearThruSecond 13 yyyyMMddHHmmss
esriTSFYearThruMinute 14 yyyyMMddHHmm
esriTSFYearThruHour 15 yyyyMMddHH
esriTSFYearThruDay 16 yyyyMMdd
esriTSFYearThruMonth 17 yyyyMM
esriTSFYearOnly 18 yyyy

Product Availability

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