You are here: PHP math with MySQL date format « PHP Programming Language « IT news, forums, messages
PHP math with MySQL date format

Posted by bill on 10/14/07 10:36

(Don't froth at the mouth Jerry, this IS a PHP question - sort of
<g>)

I have a SQL column with date format. In my PHP script I need to
do simple math on it, eg how many days past the date in the SQL
record are we now.

Do I need to convert it to a timestamp in order to do the math,
or is there an easier way ?

bill

 

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

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