What's this? PHP on the MySQL list - such heresy!!!

Do not pass "go", go directly to: 
http://www.mysql.com/doc/D/a/Date_and_time_functions.html

=dn


----- Original Message -----
From: "Marcus Müller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 24 January 2002 11:17
Subject: Re: Simple: Date Stamp mySQL and PHP


> 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
>
>


---------------------------------------------------------------------
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

Reply via email to