Sign in to follow this  
Followers 0
galvor

How can I Sort dates in ListView

2 posts in this topic

Hello all,

I am trying to sort a 2 column listview by clicking the headers.

The first column is the name and the second column is a date

The first column sort works great, but the second column sort is sorting the date like it is a text field.

Example pre date header sort:

==Name== ==Date (M/D/Y)==

Name1 1/4/2005

Name2 2/3/2006

Name3 1/2/2007

Example post date header sort:

==Name== ==Date (M/D/Y)==

Name3 1/2/2007

Name1 1/4/2005

Name2 2/3/2006

Is there some way to tell AutoIT that column 2 is a date value when sorting?

Is there a way to change the information that a ListView displays while sorting on a different (invisible) value?

I am just trying to keep the date field USA end user friendly.

Thanks for any help,

Galvor

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0