Filebased Geodatabase Date Filtering
Page 1 of 1
Filebased Geodatabase Date Filtering
So I had to add some functionality to filter by date and normally this is really simple in ArcObjects as you use the IQueryFilter::WhereClause and enter a date formatted where clause in there.
One problem though. I am using Filebased Geodatabase and I did not know what the correct way to encode the date is! I thought about it for a little while and then decided to use the trusty Query Builder from within ArcMap. It worked a charm.
It is hard to see but they encode the date by pre-pending ‘date ‘ and encoding the actual date in ‘yyyy-mm-dd’ format.
Must archive this somewhere in my brain where it will not get
One problem though. I am using Filebased Geodatabase and I did not know what the correct way to encode the date is! I thought about it for a little while and then decided to use the trusty Query Builder from within ArcMap. It worked a charm.
It is hard to see but they encode the date by pre-pending ‘date ‘ and encoding the actual date in ‘yyyy-mm-dd’ format.
Must archive this somewhere in my brain where it will not get
prabhat- GIS Geek
- Posts : 19
Join date : 2008-03-15
Age : 41
Location : Kanpur India
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Thu Jul 28, 2011 11:51 pm by Ronney
» Chicago Festival of maps continues
Sat Dec 26, 2009 9:53 am by victoria justice
» Province of BC unlocks digital data and strikes a deal with Google
Sat Dec 26, 2009 9:47 am by victoria justice
» share GPS tracks via Google Earth
Sat Dec 26, 2009 9:45 am by victoria justice
» GIS for Web Developers: Adding ‘Where’ to Your Web Applications
Sat Mar 14, 2009 1:34 am by prabhakar
» How to Design a GIS Project
Thu Dec 25, 2008 4:37 am by sean flynn
» ArcGIS Desktop 9.3: New KML Export Support
Thu Dec 25, 2008 4:34 am by sean flynn
» ArcGIS 9.3: ESRI Resource Centers
Thu Dec 25, 2008 4:25 am by sean flynn
» Help for interview..urgent
Wed Aug 27, 2008 3:28 am by ironore