How to sort a ListView by Date

Hello

I am trying to sort my ListView by date, string (for example, Tuesday, June 10, 2014) but when I do, it is not actually controlled by the date.

The only way I could get it to sort by date was using a date numberical (06/10/14), but I would prefer to use the format of the string.

XML


    
        
        Brazil vs Croatia
        Thursday 12 June 2014
        17:00PM (Local Time)
        Arena de Sao Paulo
        
    

QML

GroupDataModel {
                    id: dataModel1
                    sortingKeys: [ "date", "title" ]
                    grouping: ItemGrouping.ByFullValue
                }

Does anyone know how to display the date in string (with each of them in order) rather than the digital version?

Thank you

I would say something like
1402404367

If you want you can derive your full date or time to this value info using utilities QDate. But beware of the zones

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Compatibility of Apple Watch series 2

    I wonder if the new Apple Watch is compatible with the iPad mini. I have a laptop just an iPad with LTE. I rarely use the phone (do not need to use it when I M out and all), but I could certainly use this watch for organization and health application

  • Freezes, accused on the internet

    Still no cure for this problem! iMac OSX El Capitan 10.11.6 version 2.7 GHz Intel Core i5. 8 GB 1600 MHz DDr3. If previously posted gel unresolved issue. While on the internet (Safari + Chrome) internet freezes for up to 2/3 minutes and then works no

  • Agilent

    Hello everyone, I would use my generator Agilent 33500 B with Labview. But the problem is I don't think driver for my generator. I found a driver for the 33220A. Do you know where I can a driver for my generator? Thank you Vitroze

  • Roxio cdr4 not found

    drive appear in the victory. Exployer, but error message says pilot cdr4 roxio is not found

  • A package of upgrade cannot be infected / dangerous to transfer it to another PC?

    I contact the store and ask for a valid replacement key. J W Stuart: http://www.pagestart.com