Skip to main content
Question

Test for oldest date?

  • September 16, 2016
  • 2 replies
  • 29 views

cwarren
Forum|alt.badge.img

I have two different "groups" of point features that are all in close proximity to one another. I need to only pass one point feature from each "group" that have the oldest date and contain 2016 in the attribute STD_COLLECT_TIME. This attribute is in "%m/%d/%Y" "%l:%M:%S" "%p" format.

Any help would be greatly appreciated. See images below for reference.

2 replies

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 16, 2016

Hi,

Usually sorting and sampling per group can achieve that.

I would format the date using the s epoch, use a sorter on the date and group attributes and sample per group to get just the oldest per group.

Hope this helps.


cwarren
Forum|alt.badge.img
  • Author
  • September 16, 2016
itay wrote:

Hi,

Usually sorting and sampling per group can achieve that.

I would format the date using the s epoch, use a sorter on the date and group attributes and sample per group to get just the oldest per group.

Hope this helps.

Thanks @itay

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings