Epoch time millisecond

345
1
03-16-2019 05:24 AM
RawandDizayee
New Contributor III

Dear all,

I'm gonna use Epoch time millisecond for my ID for forms, do i face duplicate IDs in future ? i cant use format-date() 

because some clients using smartphones Arabic region based so we receive Arabic numeric ID. I tried with epoch time the ID will not convert to Arabic numeric even their smartphones based Arabic region. thank you in advance

0 Kudos
1 Reply
JohnathanHasthorpe
Esri Regular Contributor

Hi Rawand

Epoche time is seconds from 0:00:00 1/1/1970 - so you will only get duplicates if two surveys are submitted at the same time. Please take a look at the following blog which covers other approaches for generating unique IDs. https://community.esri.com/groups/survey123/blog/2017/11/25/creating-ticket-numbers-in-survey123-for... 

Thanks
John

0 Kudos