Re: Simple: Date Stamp mySQL and PHP

2002-01-24 Thread Marcus Müller
Oops, got it all wrong. Thought it was a "real" timestamp, but it's already the date, only formatted in a different way. The date() function expects a Unix-timestamp as its second argument. Thus you could try to leave the conversion to MySQL by using UNIX_TIMESTAMP(your_timestamp_column) or if yo

Re: Simple: Date Stamp mySQL and PHP

2002-01-24 Thread DL Neil
anuary 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: > $date1=date("d M Y H:i", 20020123143547); > ?> > > Regards &g

Re: Simple: Date Stamp mySQL and PHP

2002-01-24 Thread Marcus Müller
Hi, have a look at http://www.php.net/manual/en/function.date.php According to your example, it would be something like: 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