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
esriTSF_​ISOThruSubSecondZ 19 yyyy-MM-ddTHH:mm:ss.sZ
esriTSF_​ISOThruSubSecond 20 yyyy-MM-ddTHH:mm:ss.s
esriTSF_​ISOThruSecond 21 yyyy-MM-ddTHH:mm:ss
esriTSF_​ECMAISO8601Z 22 yyyy-MM-ddTHH:mm:ss.sssZ

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close