You are here: Calculating the difference « PHP Programming Language « IT news, forums, messages
Calculating the difference

Posted by Julius on 10/01/07 13:49

Hej dudes,

I need to calc the difference between two timestamps / dates ...

For example what i need to calculate:

Date 1: 2007.11.06 - 20:13:04
Date 2: 2007.11.07 - 21:13:04

Difference: 1 day, 1hour

Very simple in php ..

but how do i calculate the difference between the following values:

Date 1: 2007.11.06 - 20:13:04
Date 2: 2007.11.08 - 03:13:04

Does someone have a quick solution for this ?
Thanks ahead ...

 

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

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