AnsweredAssumed Answered

Query based on datetime field over geodatabase offline layer doesn't work

Question asked by jatanaciosigsa-info-esridist Employee on Jan 24, 2017
Latest reply on Jan 24, 2017 by jatanaciosigsa-info-esridist

I've downloaded a local geodatabase to work offline in my Windows 8.1 Tablet, and I need to get features from a specific layer based on datetime field, I can get this with online layer in rest service through next line:

"REALDATE >= date '" + DateTime.Now.ToUniversalTime() + "' AND REALDATE <= date '" + DateTime.Now.AddDays(1).ToUniversalTime() +"' and works perfectly; but when I tried to execute this query on my local geodatabase layer, never return features, someone could explain why it is not working.