Re: Date --> Timestamp

From: Date: Sat, 11 Nov 2000 19:26:43 +0000
Subject: Re: Date --> Timestamp
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24806@lists.php.net to get a copy of this message
take a look at the strtodate function http://www.php.net/manual/ref.datetime.php ----- Original Message ----- From: "Tyler Longren" <tyler.longren@midiowa.net> To: "PHP-General" <php-general@lists.php.net> Sent: Saturday, November 11, 2000 12:13 PM Subject: [PHP] Date --> Timestamp > Is there an easy way to convert a mm-dd-yyyy date format to a timestamp? > The only way I can think of to do it is by getting it into a > mktime("0,0,0,$mm,$dd,$yyyy"); > > Is there anything easier than that? > > Thanks, > Tyler Longren > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#24806) next »