ArcGIS Enterprise SDK
esriTimeStringFormat Constants
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.System > Constants > E > esriTimeStringFormat Constants
ArcGIS Developer Help (ESRI.ArcGIS.esriSystem)

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