Hi. I have an array containing dates and times.
I want to sort them out, and place them in array in order (so the newest date is in slot0, and the oldest at the other end). I then want to use the date with another string from another array, containing related data and print this out in table form, so no matter where the entry is stored, it will always print out the newest date at the top of the table.
Also, whats the best way to retreive time and date only?
localtime() returns a DAY HH:MM:SS DD/MM/YYYY format
thanks
Siberdude
siberdude@settlers.co.uk
I want to sort them out, and place them in array in order (so the newest date is in slot0, and the oldest at the other end). I then want to use the date with another string from another array, containing related data and print this out in table form, so no matter where the entry is stored, it will always print out the newest date at the top of the table.
Also, whats the best way to retreive time and date only?
localtime() returns a DAY HH:MM:SS DD/MM/YYYY format
thanks
Siberdude
siberdude@settlers.co.uk