Re: days of the week, time calculations
| From: | Egon Schmid | Date: | Sat, 08 Jul 2000 14:26:13 +0000 |
| Subject: | Re: days of the week, time calculations | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-5545@lists.php.net to get a copy of this message | ||
Kenn Murrah wrote:
> I need to convert MySQL's timestamp into a format
> that I can use for calculating the number of seconds
> between two date/times. I also need to be able to
> determine what day of the week a given timestamp
> is.
>
> I've looked everywhere that I can think of to look -- can
> anyone point me in the right direction?
http://zend.com/manual/ref.datetime.php and
look for date() and
mktime().
-Egon
--
SIX Offene Systeme GmbH · Stuttgart - Berlin - New York
Sielminger Straße 63 · D-70771 Leinfelden-Echterdingen
Fon +49 711 9909164 · Fax +49 711 9909199 http://www.six.de