Globe GIS
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» GIS training centers in Bangalore
Filebased Geodatabase Date Filtering EmptyThu Jul 28, 2011 11:51 pm by Ronney

» Chicago Festival of maps continues
Filebased Geodatabase Date Filtering EmptySat Dec 26, 2009 9:53 am by victoria justice

» Province of BC unlocks digital data and strikes a deal with Google
Filebased Geodatabase Date Filtering EmptySat Dec 26, 2009 9:47 am by victoria justice

» share GPS tracks via Google Earth
Filebased Geodatabase Date Filtering EmptySat Dec 26, 2009 9:45 am by victoria justice

» GIS for Web Developers: Adding ‘Where’ to Your Web Applications
Filebased Geodatabase Date Filtering EmptySat Mar 14, 2009 1:34 am by prabhakar

» How to Design a GIS Project
Filebased Geodatabase Date Filtering EmptyThu Dec 25, 2008 4:37 am by sean flynn

» ArcGIS Desktop 9.3: New KML Export Support
Filebased Geodatabase Date Filtering EmptyThu Dec 25, 2008 4:34 am by sean flynn

» ArcGIS 9.3: ESRI Resource Centers
Filebased Geodatabase Date Filtering EmptyThu Dec 25, 2008 4:25 am by sean flynn

» Help for interview..urgent
Filebased Geodatabase Date Filtering EmptyWed Aug 27, 2008 3:28 am by ironore

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
free forum
 
May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendar Calendar


Filebased Geodatabase Date Filtering

Go down

Filebased Geodatabase Date Filtering Empty Filebased Geodatabase Date Filtering

Post  prabhat Sat Mar 15, 2008 3:49 am

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.
Filebased Geodatabase Date Filtering Image-thumb
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
prabhat
GIS Geek

Posts : 19
Join date : 2008-03-15
Age : 41
Location : Kanpur India

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum