Hi,
have a look at http://www.php.net/manual/en/function.date.php
According to your example, it would be something like:
<?php
$date1=date("d M Y H:i", 20020123143547);
?>
Regards
Marcus
> Ive got a timestamp in a database column and basically
> I was wondering if there was any function in PHP to
> parse the date into something more readable from
>
> 20020123143547
>
> "23 Jan 2002 14:35"
>
> something like
>
> $date1= datetoreadable($date);
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php