Jump to content

How can I Sort dates in ListView


galvor
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...