Re: PHP Time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 2, 2012 at 4:00 PM, Rob Weissenburger <rob@xxxxxxxxxxxxxxx> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux