Re: PHP Time

From: Date: Tue, 09 May 2023 04:58:17 +0000
Subject: Re: PHP Time
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-328201@lists.php.net to get a copy of this message
Unsubscribe On Tue, Jul 3, 2012 at 4:06 AM Geoff Shang <geoff@quitelikely.com> wrote: > 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. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Best Regards HouYu Li, Karajan karajan_ii (at) hotmail.com karadog (at) gmail.com lihouyu (at) phpex.net PHP Developer Red Hat Certified Engineer Shanghai, China

« previous php.general (#328201) next »