Re: Order by unix timestamp
| From: | leo g. divinagracia iii | Date: | Thu, 12 Jul 2001 18:33:22 +0000 |
| Subject: | Re: Order by unix timestamp | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10355@lists.php.net to get a copy of this message | ||
try the RSORT (reserve sort) function???
Andreas Iwanowski wrote:
>
> Hello,
> i have a table where unix timestamps are inserted when adding a record.
>
> If i read out the table data, i want to order it by unixtime ( the name of
> the filed where the timestamp is )
>
> He orders it by unixtime, but beginning with the oldest record.
> i thougt i could fix it by using ORDER by !unixtime .
>
> Also does'nt work
>
> How can i fix the problem that the records are ordered by unixtime,
> beginning with the newest record ?
>
>
--
Leo G. Divinagracia III
ldivinag@csuhayward.edu