That worked just perfectly. Thank you. -----Original Message----- From: paras...@gmail.com [mailto:paras...@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 <r...@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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php