Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001051

Re: [PHP-DB] Date display problem From: Russ Michell (r.j.michell <email protected>)
Date: 05/14/01

> How do I display the time and date on my message board depending on
> the time of the place from where the data is entered.Everytime the
> date that is displayed is not what it was when the message was posted.

If you mean what I think you mean then you can use a TIMESTAMP
fieldtype on the row where the date lies in your table. A
MySQL TIMESATMP comes in the yyyymmdd hh:mm:ss formate, and changes
whenever that field ia altered or updated.

Hope that is what you needed!
Russ

On Sat, 12 May 2001 18:27:36 +0000 vipin chandran
<whoosh_vc <email protected>> wrote:

> Hi,
> How do I display the time and date on my message board depending on
> the time of the place from where the data is entered.Everytime the
> date that is displayed is not what it was when the message was posted.
>
> thanx,
>
> vipin chandran
> whoosh_vc <email protected>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

#-------------------------------------------------------#
                                
  "Believe nothing - consider everything"
  
  Russ Michell
  Anglia Polytechnic University Webteam
  
  e: r.j.michell <email protected>
  w: www.apu.ac.uk/webteam
  t: +44 (0)1223 363271 x 2331

  www.theruss.com
                        
#-------------------------------------------------------#

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>