Re[4]: [PHP] timer on sessions?
| From: | Asmodean | Date: | Wed, 17 Jul 2002 16:18:38 +0000 |
| Subject: | Re[4]: [PHP] timer on sessions? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108111@lists.php.net to get a copy of this message | ||
J> So under the time() call, comparing it to a simple numerical value such as
J> "300" it knows that you are talking about 300 seconds? Is that because it
J> is a unix timestamp? I previously tried using date("s") to give me the
J> seconds from today's date then tried the compare, so using time() will work
J> better. Thanks a ton.
J> Jas
Yes. time() returns a UNIX timestamp (currently a 10-digit number)
representing the number of seconds since a certain date (sometime in
1972).
--
Best regards,
Asmodean mailto:asmodean@lka.nu