In message <[EMAIL PROTECTED]
org>, Charlie Markwick <[EMAIL PROTECTED]> writes
>I want to get the current Unix time stamp.
>
>Fist I tried the example from the PHP site:-
>
>strtotime("now")

>This kills the PHP and I end up with a blank page with absolutely no
>HTML 

That works for me - did you use
echo strtotime("now");

>
>So the I tried:-
>
>strtotime(date("d/m/Y"))
>
>This produced a null result but didn't crash the page. I'm tearing
>what's left of my hair out, can anyone advise me what I'm doing wrong?

PHP is not British <G>
echo strtotime(date("Y/m/d"))

Of course, the two output different numbers, as the second has no time
element.

-- 
Pete Clark

Sunny Andalucia
http://hotcosta.com/Andalucia.Spain

Reply via email to