Bug #16935 Updated: date sorting

From: Date: Tue, 30 Apr 2002 20:13:30 +0000
Subject: Bug #16935 Updated: date sorting
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6586@lists.php.net to get a copy of this message
ID: 16935 Updated by: mfischer@php.net Reported By: developer@i-space.org -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Slackware 8 PHP Version: 4.2.0 New Comment: That's the wrong approach for sorting dates. Keep a unix timestamp of the date and sort after it. Previous Comments: ------------------------------------------------------------------------ [2002-04-30 16:11:19] developer@i-space.org the sorting functions worked fine for me until two days ago, when i was doing a date sorting of interviews in the site i recently do. so my request :) is (and something that i think is VERY usefull) is date sorting. for example - if i have dates like that - "Feb '02", "Mar '01" and so on - i want to sort them by asc and desc. date() has such "short" date creaton - Feb, Mar, etc... - which is just one side of the medalion :). adding date sorting in "short" dates is the other ... :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16935&edit=1

« previous php.bugs (#6586) next »