I am consuming a secure map service from a vender that has attribute ENT_LST_DT as esriFieldTypeDate
When I query objectid 0,1,2,3,4 for ENT_LST_DT I see the values shown as :
ENT_LST_DT: 486345600000
API_NUM: 04111204350000
ENT_LST_DT: 817689600000
API_NUM: 04237024880000
ENT_LST_DT: 641433600000
API_NUM: 04237026310000
ENT_LST_DT: 1333152000000
API_NUM: 04237204030000
On my own map services and the map service you mention in this post, the date is returned as
datetime: 2012/05/23 15:17:45 UTC
----------------------------------------------
So I was wondering why would a date display as that weird number, and more importantly, how do I add a whereclause on this featurelayer.
Your suggested syntax does not work in this case.
I get Unable to complete operation.
Unable to complete Query operation.
{Do I need to ask the vender about this? Or do you recognise this internal format of an esriFieldTypeDate)
ps. The only difference I see in the rest endpoint is that their date field is shown as
ENT_LST_DT (Type: esriFieldTypeDate, Alias: ENT_LST_DT)
whereas the earthquake and all my own date fields on my map services has LENGTH : 36
SPUD_DATE (Type: esriFieldTypeDate, Alias: SPUD_DATE, Length: 36 )
Can you assist?