You are here: Date/Time fields « All PHP « IT news, forums, messages
Date/Time fields

Posted by Sloane T. Irwin on 08/29/06 18:25

Hello,

First of all I'd like to thank everyone who's helped me in the past
with my php problems. I'm learning a ton aboput mySQL and php, but have
come across a problem. In my table there is a timestamp field that
lists it like YYYY-MM-DD HH:MM:SS when echoed..

The time portion of this field is only neccessary when we need it
specifically, and having it in the table all the time is making my
formatting very messy. Is there a way to return only the first 10
digits of the timestamp so that it only displays the date? That's all
that's really necessary for the main table display.
Any help would be greatly appreciated

Sloane

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация