You are here: Re: difference from dates « PHP Programming Language « IT news, forums, messages
Re: difference from dates

Posted by Sjoerd on 03/05/07 22:58

Davide wrote:
> I need to build a script wich can calulate the difference from a
> specific date "2007-03-01" to current date.

Calculate the difference in seconds (using the Unix epoch) and convert
that to days, weeks, months.

Spoiler:
http://code.linuxonly.nl/code/date.difference.html

 

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

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