You are here: Re: Diff Between 2 Dates « PHP Programming Language « IT news, forums, messages
Re: Diff Between 2 Dates

Posted by Gordon Burditt on 10/29/90 11:41

>I am trying to find the difference between 2 dates. The problem that I
>am having is that all
>routines in the PHP Manual and all of the scripts I have seen on the
>Internet only allow a date as
>old as 1970. I am trying to find the age of a person in months so 1970
>is not far back enough. Does
>anyone know of a script where 1970 is not a restriction?

PHP suffers from the limitations of a UNIX time_t. I recommend
using MySQL date functions where the allowed range includes the
years 1 thru 9999, which is good enough for most practical uses.

Gordon L. Burditt

 

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

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