How do i turn something like 703452234sec into a real date. like 11/12-01 ?? examples would be appriciated.
Use the date() function. Look it up in the PHP docs (http://www.php.net). They give examples.
i tried it.... date(\"m d y\", $utime);
aint this correct use?+
To use your examples:
<?php $utime = 703452234; echo date("m d y", $utime); ?>
outputs:
04 16 92
$utime must be a valid timestamp, and it can't be a string. Othere than that, it should work just fine.
-geoff
Ohhh thats the error then - i use a String.
Well thanks for the exampel