Re: Date display problem
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Date display problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9278@lists.php.net to get a copy of this message | ||
> 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@postmark.net> 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@postmark.net
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
e: r.j.michell@apu.ac.uk
w: www.apu.ac.uk/webteam
t: +44 (0)1223 363271 x 2331
www.theruss.com
#-------------------------------------------------------#