Re: Working with time()...
| From: | Jason Brooke | Date: | Tue, 16 Jan 2001 23:20:15 +0000 |
| Subject: | Re: Working with time()... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34922@lists.php.net to get a copy of this message | ||
See the mysql manual - there's a section that deals with date/time functions
already built into mysq that work perfectly with timestamps
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Fun
ctions
jason
----- Original Message -----
From: "Dallas Kropka" <dallask@austin.rr.com>
To: "PHP LIST" <php-general@lists.php.net>
Sent: Wednesday, January 17, 2001 9:20 AM
Subject: [PHP] Working with time()...
>
> in my database, all entries have a timestamp.... I need a way to brake the
> entries up and sort the entries:
>
> by year
> by month according to year
> by day according to the month
> and preferably by hour according to the day...
>
>
> How do I do this? Are there functions floating around the net that will do
> this?
>
> thanks.