Re: PHP Time
| From: | Daniel Brown | Date: | Mon, 02 Jul 2012 20:02:21 +0000 |
| Subject: | Re: PHP Time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318373@lists.php.net to get a copy of this message | ||
On Mon, Jul 2, 2012 at 4:00 PM, Rob Weissenburger <rob@fiberuplink.com> wrote:
> Hello everyone,
>
> I know php time() gives the current unix time which you can format out to
> a normal date and time. Is there a way to format a specific date and time
> back to unix time?
Yup. Look at strtotime() and mktime():
http://php.net/strtotime
http://php.net/mktime
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/