I am looking for a label definition that would allow me to display time since creation.
I want a user to be able to see how long it has been since a point has been created.
Would I be able to display this on a webmap too?
Some questions to help clarify your request:
1. Which software will be used to display this? And which version?
2. Is the Creation time an attribute in a dataset or would it be derived by other means (example: transaction history)?
Chris Donohue, GISP
Chris,
1. Ideally I want it to show over a point in a webapp. I know I have a few steps to get to that point.
I firstly looking at a way to to do it in arcmap 10.2
2. Derived based on Date Created.
Ricky you may wish to move your thread to one of the subspaces within web developers in gis
so as to fine-tune your audience, GIS is too general a category and those that may be able to help may not follow the general GIS place
Rickey
I assume you have editor tracking enabled on your feature class(es), if not that will be your first step. Then add a new field (long int) to your feature class to store the elapsed time. You should then be able to use the DateDiff VB function (I assume there is a Python function as well just not sure what it is called). Once calculated use the new field to label your features.
The DateDiff will allow you to compare time elapsed from the created_date to the last_edited_date with the interval of your choosing (see the link below on the DateDiff syntax).
Best of luck,
Kyle
Kyle,
I have editor tracking enabled so I will work on a python script.
Thank you for pointing me in the right direction.