Re: PHP Time
| From: | Geoff Shang | Date: | Mon, 02 Jul 2012 20:05:45 +0000 |
| Subject: | Re: PHP Time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318374@lists.php.net to get a copy of this message | ||
On Mon, 2 Jul 2012, Rob Weissenburger wrote:
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?mktime() and strtotime() will do it, depending on the form your time is in. There's probably others. Geoff.