RE: [PHP] PHP Time

From: Date: Mon, 02 Jul 2012 20:06:32 +0000
Subject: RE: [PHP] PHP Time
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-318375@lists.php.net to get a copy of this message
That worked just perfectly. Thank you. -----Original Message----- From: parasane@gmail.com [mailto:parasane@gmail.com] On Behalf Of Daniel Brown Sent: Monday, July 02, 2012 3:02 PM To: Rob Weissenburger Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Time 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#318375) next »