I have a date format that is being called from a database that is stored like this: Mar-19-2007 I need a quick little function that will sort the dates I would either need it to either be ASC or DESC Just I need to get it to sort. Any help is appreciated.
doesnt the default "sort by date ASC/DESC" works? i think you should convert the Month there first, anyways if you're storing date to the database the best if its all numeric.
Maybe you should them in timestamp form, which is all numbers. Then, you can sort them easily. :: ads2help