RE: [PHP-DEV] strtotime problem From: Mike Robinson (mike <email protected>)
Date: 11/29/00

 John Woolbright wrote:

> i am trying to use the strtotime function to create a unix timestamp for
>
> the following string
> strtotime("JUN 01 2000 12:00AM") and it will not work correctly - it
> returns a value in the year 1969. It will work correctly for
> strtotime("JUN 01 2000"). If I add HH:MM timestamp combination to the
> date it does not work. According to the docs the date timestamp
> combination should work. Am I correct in this assumption or not. Is
> there any string format that will work that contains the date and
> timestamp in the string.

The helpful freindly php-general list probably would have mentioned
that strtotime("12:00AM JUN 01 2000") works ok. :)

Regards
Mike Robinson

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>